]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: adc: ad7192: Remove platform data
authorMircea Caprioru <mircea.caprioru@analog.com>
Mon, 12 Aug 2019 09:00:34 +0000 (12:00 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 18 Aug 2019 18:23:00 +0000 (19:23 +0100)
commite3fbd762239eaee137a9bc6df94180072bcb6547
tree9928d542caa9768ec80fbc8df2c56f64ce7074fe
parent0e27a6458afdaabdd998bbf8010c9e56222c57fe
staging: iio: adc: ad7192: Remove platform data

This patch removes the reference voltage entry from the platform_data
structure. This is no longer needed since the reference voltage is obtained
from the device tree. With this we also remove the entire ad7192.h file.

The undefined reference voltage warning is promoted to an error signaling a
problem with the device tree.

Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/adc/ad7192.h [deleted file]