iio: dac: mcp4725: use regulator framework
authorTomas Novotny <tomas@novotny.cz>
Tue, 11 Oct 2016 13:57:40 +0000 (15:57 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:33:51 +0000 (19:33 +0100)
commitb440f1d90ec54fd2586537ea46e958343ad4b151
tree6ecbf1b1d0d3f4246b6125c4278f5558c0f04a6a
parent3f5def652f6609dd1981be8283de155f15a3df48
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>
drivers/iio/dac/mcp4725.c
include/linux/iio/dac/mcp4725.h