commit | 8ef9ccf81044a1e31d116b5d4972d5b65ae10846 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jun 13 10:05:17 2018 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jul 12 12:05:22 2018 +1000 |
tree | b547165fa27419b423f16bbe0d067fcaf7458566 | |
parent | 265aac26bcd4a2a79d08d2bdcc08cf1653fd4248 [diff] |
fsi: master-gpio: Add missing release function The embedded struct device needs a release function to be able to successfully remove the driver. We remove the devm_gpiod_put() as they are unnecessary (the resources will be released automatically) and because fsi_master_unregister() will cause the master structure to be freed. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Joel Stanley <joel@jms.id.au>