regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regula...
authorAxel Lin <axel.lin@gmail.com>
Thu, 17 May 2012 00:55:45 +0000 (08:55 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 17 May 2012 22:00:56 +0000 (23:00 +0100)
commit68c7ff8f9b40bcc35abb22160bc30221477e0a89
treee0cdcb5d8583705c01f5503616d113afdadc5fb3
parent0cbd6702186af44ca14d68d3fd3f3368287f4ee4
regulator: max8925: Remove check_range function and max_uV from struct rc5t583_regulator_info

This driver has been converted to use regulator_map_voltage_linear and
set_voltage_sel now. regulator_map_voltage_linear will check the the voltage
falls within specified range. The check_range() function and max_uV field are
not used now, remove them.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8925-regulator.c