UPSTREAM: regulator: rk808: remove linear range definitions with a single range
authorWadim Egorov <w.egorov@phytec.de>
Mon, 25 Apr 2016 13:20:43 +0000 (15:20 +0200)
committerElaine Zhang <zhangqing@rock-chips.com>
Tue, 28 Feb 2017 01:46:22 +0000 (09:46 +0800)
commit7b3aecc7dbcf8344744a45c4eb2e9a2d51df9ed3
treea5f9d2655431cb4b5d755563575a3d89d55aeb33
parent92f4f27b7ff3db6186c197847f4ea7553d2ebef9
UPSTREAM: regulator: rk808: remove linear range definitions with a single range

The driver was using only linear ranges. Now we remove linear range
definitions with a single range. So we have to add an ops struct for
ranges and adjust all other ops functions accordingly.

Change-Id: I6b2dd5e035832f9460ec8a24b5214204f7a930b7
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit afcd666d9db0ebfbf2751cce1e07b548547ca82e)
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
drivers/regulator/rk808-regulator.c