aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator/driver.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-08 12:03:04 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-11 12:01:42 +0800
commitab0d1cbe55014ac65cfc317f8ef2cd5fa4b7d4da (patch)
tree969e3bd8ce1075bb36e60b93dc3042e52d2a7c7c /include/linux/regulator/driver.h
parentregulator: anatop: Convert to set_voltage_sel and regulator_map_voltage_linear (diff)
downloadlinux-dev-ab0d1cbe55014ac65cfc317f8ef2cd5fa4b7d4da.tar.xz
linux-dev-ab0d1cbe55014ac65cfc317f8ef2cd5fa4b7d4da.zip
regulator: max77686: Check pdata->num_regulators earlier
If this driver only works when pdata->num_regulators == MAX77686_REGULATORS, let's check it earlier. Also remove unused num_regulators from struct max77686_data. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator/driver.h')
0 files changed, 0 insertions, 0 deletions