]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit4be27c2a185da8438951620b2822c8547df428ad
tree9928d542caa9768ec80fbc8df2c56f64ce7074fe
parent519808425e1941563ca25af5caefe7261f6cc8a4
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]