]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: max1027: Use device-managed APIs
authorChuhong Yuan <hslester96@gmail.com>
Sun, 11 Aug 2019 12:51:46 +0000 (20:51 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 18 Aug 2019 19:16:46 +0000 (20:16 +0100)
commit316368712102a21ff9c6df4b63d95c27a4d2227f
tree550b37d4f4e58113e9ca22886588d4a821e0c00c
parent6bb7dd7eaba65c0de0f801c42824fc356f3ceca2
iio: adc: max1027: Use device-managed APIs

Use device-managed APIs to simplify the code.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/max1027.c