summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorIoana Ciornei <ciorneiioana@gmail.com>2015-10-02 13:37:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 10:31:07 +0300
commit877cdf9115122e068245326da519a848d2387221 (patch)
tree1ab14d1f99d3897c30b3aa251240da46e565c86e /include/linux/raid
parent86727e30d1d6485b5f8b4a84790ac659dc002d27 (diff)
downloadlinux-877cdf9115122e068245326da519a848d2387221.tar.xz
staging: iio: resolver: replace iio_device_register by devm_iio_device_register
Use devm_iio_device_register instead of iio_device_register when the remove function is only used to call iio_device_unregister in order to ease the error path. Since resource managed functions implicitly call unregister at driver detach also remove iio_device_unregister Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions