]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: rk808: remove unused rk808_reg_ops_ranges
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 Apr 2016 09:19:26 +0000 (11:19 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 26 Apr 2016 10:11:29 +0000 (11:11 +0100)
commit4a5ed8c1adc39f86a2887183c71b007bc962fdce
treec8f566ac3027e06f5d979e1207f85c015230ab2b
parentafcd666d9db0ebfbf2751cce1e07b548547ca82e
regulator: rk808: remove unused rk808_reg_ops_ranges

After removing all uses of the range operations in a recent patch,
we get a warning about the symbol not being referenced anywhere:

drivers/regulator/rk808-regulator.c:306:29: 'rk808_reg_ops_ranges' defined but not used

This removes the now-unused structure along with the
rk808_set_suspend_voltage_range function that is only referenced from
rk808_reg_ops_ranges.

Fixes: afcd666d9db0 ("regulator: rk808: remove linear range definitions with a single range")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c