regulator: lp872x: Kill _rdev_to_offset() function
authorAxel Lin <axel.lin@ingics.com>
Sat, 8 Dec 2012 01:56:48 +0000 (09:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Dec 2012 03:22:29 +0000 (12:22 +0900)
commit2c129927870499aaa8840b5e97ffb4f0c8e5eb86
tree9dbff664746a40920ff69cb48f58c98c695447cf
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17
regulator: lp872x: Kill _rdev_to_offset() function

There is only one user calling _rdev_to_offset() function.
Remove _rdev_to_offset() makes the code simpler.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/lp872x.c