regulator: lp872x: Kill _rdev_to_offset() function
authorAxel Lin <[email protected]>
Sat, 8 Dec 2012 01:56:48 +0000 (09:56 +0800)
committerMark Brown <[email protected]>
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 <[email protected]>
Acked-by: Milo(Woogyom) Kim <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
drivers/regulator/lp872x.c