]> git.baikalelectronics.ru Git - kernel.git/commit
iio: common: ssp_sensors: accel: use devm_iio_device_register()
authorWei Yongjun <weiyongjun1@huawei.com>
Sun, 22 Jan 2017 16:36:12 +0000 (16:36 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 28 Jan 2017 12:15:22 +0000 (12:15 +0000)
commit668a8c0e4931d249a5f5c777267b1ef9291e2b8b
treee15d560cb313a4566981ded9f1275e8d52a1f7b8
parent80039a67bb0e9cb338b1c45132376f680ae9e068
iio: common: ssp_sensors: accel: 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/accel/ssp_accel_sensor.c