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)
commitfa4c115ca5bd9d9bef8f0a471c9fa32dc16c2453
treee15d560cb313a4566981ded9f1275e8d52a1f7b8
parentdf1fd2de118e3bf980e2bbada16c650b9eea529b
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