]> git.baikalelectronics.ru Git - kernel.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)
commit2985482c6354b8de49879fb0e74a87eb60c3215b
treec8f566ac3027e06f5d979e1207f85c015230ab2b
parent9503f567728c11588c214cafad4473277d44e498
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: 9503f567728c ("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