UPSTREAM: regulator: rk808: remove unused rk808_reg_ops_ranges
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 Apr 2016 09:19:26 +0000 (11:19 +0200)
committerElaine Zhang <zhangqing@rock-chips.com>
Tue, 28 Feb 2017 01:47:10 +0000 (09:47 +0800)
commit6bd7222399b8ec021c3234652f1d3c8f05b05b5b
treecb6b3b32ef675b44ac7c5a0a6b09f150f43b2257
parent7b3aecc7dbcf8344744a45c4eb2e9a2d51df9ed3
UPSTREAM: 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")
Change-Id: I565c91186ab5d7457a62b3bc4b4896a08f39dd2e
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 4a5ed8c1adc39f86a2887183c71b007bc962fdce)
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/regulator/rk808-regulator.c