aboutsummaryrefslogtreecommitdiff
path: root/include/linux/iio
diff options
context:
space:
mode:
authorTomas Novotny2016-10-11 15:57:40 +0200
committerJonathan Cameron2016-10-23 19:33:51 +0100
commitb440f1d90ec54fd2586537ea46e958343ad4b151 (patch)
tree6ecbf1b1d0d3f4246b6125c4278f5558c0f04a6a /include/linux/iio
parent3f5def652f6609dd1981be8283de155f15a3df48 (diff)
iio: dac: mcp4725: use regulator framework
Use a standard framework to get the reference voltage. It is done that way in the iio subsystem and it will simplify extending of the driver. Structure mcp4725_platform_data is left undeleted because it used in the next patch. This change breaks the current users of the driver, but there is no mainline user of struct mcp4725_platform_data. Signed-off-by: Tomas Novotny <tomas@novotny.cz> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
-rw-r--r--include/linux/iio/dac/mcp4725.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/iio/dac/mcp4725.h b/include/linux/iio/dac/mcp4725.h
index 91530e6611e9..7c062e8d2a48 100644
--- a/include/linux/iio/dac/mcp4725.h
+++ b/include/linux/iio/dac/mcp4725.h
@@ -10,7 +10,6 @@
#define IIO_DAC_MCP4725_H_
struct mcp4725_platform_data {
- u16 vref_mv;
};
#endif /* IIO_DAC_MCP4725_H_ */