]> git.baikalelectronics.ru Git - kernel.git/commit
iio: common: ssp_sensors: gyro: use devm_iio_device_register()
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 22 Jan 2017 17:15:06 +0000 (17:15 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Jan 2017 12:16:17 +0000 (12:16 +0000)
commit98a9a17405b9590e5d74122747e009082645f1d9
treed82aeed8f8e46a953ef3ad372a0c21d20b5d8ab3
parent668a8c0e4931d249a5f5c777267b1ef9291e2b8b
iio: common: ssp_sensors: gyro: use devm_iio_device_register()

Use devm_iio_device_register() for IIO subsystem device
registration and delete the remove function since there
is no need after this change.

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/ssp_gyro_sensor.c