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>
This commit is contained in:

committed by
Jonathan Cameron

parent
3f5def652f
commit
b440f1d90e
@@ -10,7 +10,6 @@
|
||||
#define IIO_DAC_MCP4725_H_
|
||||
|
||||
struct mcp4725_platform_data {
|
||||
u16 vref_mv;
|
||||
};
|
||||
|
||||
#endif /* IIO_DAC_MCP4725_H_ */
|
||||
|
Reference in New Issue
Block a user