aboutsummaryrefslogtreecommitdiffstats
path: root/block/noop-iosched.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-13 10:05:17 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-07-12 12:05:22 +1000
commit8ef9ccf81044a1e31d116b5d4972d5b65ae10846 (patch)
treeb547165fa27419b423f16bbe0d067fcaf7458566 /block/noop-iosched.c
parentfsi: Don't use device_unregister() in fsi_master_register() (diff)
downloadlinux-dev-8ef9ccf81044a1e31d116b5d4972d5b65ae10846.tar.xz
linux-dev-8ef9ccf81044a1e31d116b5d4972d5b65ae10846.zip
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>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions