]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: tps6507x: Remove unused min_uV and max_uV from struct tps_info
authorAxel Lin <axel.lin@gmail.com>
Tue, 5 Jun 2012 00:39:52 +0000 (08:39 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 10:20:53 +0000 (11:20 +0100)
commitf03c4a57cf0cbb4f961bca287f8bdfd3d6eb7e1a
tree93df19a6c579627f4a915de26472d51439e88b2c
parent74adfee53b8f05b4a9db0848d19399db2cef6cbf
regulator: tps6507x: Remove unused min_uV and max_uV from struct tps_info

The min_uV and max_uV are not used in this driver.
For table based voltage mappings, we can get min_uV and max_uV by
info->table[0] and info->table[table_len -1].
Thus remove min_uV and max_uV from struct tps_info.

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