]> git.baikalelectronics.ru Git - kernel.git/commit
iio: tsl2772: Use devm_iio_device_register
authorChuhong Yuan <hslester96@gmail.com>
Thu, 1 Aug 2019 07:36:12 +0000 (15:36 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 5 Aug 2019 15:30:44 +0000 (16:30 +0100)
commit71e8e323f0079ead08a18a8c9e398561f6755553
tree6888c91ec6135d252c2f96dae2dc490300958095
parent250c803ebea94d48e31bc7631b0896e92e78ee5b
iio: tsl2772: Use devm_iio_device_register

Use devm_iio_device_register, which removes the tsl2772_remove
function.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Brian Masney <masneyb@onstation.org>
Tested-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/tsl2772.c