commit | 252fb58ceb42d82931c971b11f5ea1323caa8a35 | [log] [tgz] |
---|---|---|
author | Ioana Ciornei <ciorneiioana@gmail.com> | Fri Oct 02 13:37:48 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 08:31:07 2015 +0100 |
tree | 465922fefa3ecc8a082c82354415f35f86d0230a | |
parent | a305cf316239073eab9da9ba22266bb698f5c3f7 [diff] |
staging: iio: cdc: 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 de 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>