diff options
| author | Ioana Ciornei <ciorneiioana@gmail.com> | 2015-10-02 13:37:49 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 10:31:07 +0300 |
| commit | 86727e30d1d6485b5f8b4a84790ac659dc002d27 (patch) | |
| tree | 2010dbda47dd75d2ee55ec27a970c7f75b3b8526 /include/linux/stackprotector.h | |
| parent | 252fb58ceb42d82931c971b11f5ea1323caa8a35 (diff) | |
| download | linux-86727e30d1d6485b5f8b4a84790ac659dc002d27.tar.xz | |
staging: iio: light: use devm_iio_device_register instead iio_device_register
Replace iio_device_register with resource managed devm_iio_device_register in order
to ease the error path. Also delete the remove function since there is no need after
this change.
Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
