regulator: Kill s5m8767_get_reg_id function
authorAxel Lin <axel.lin@gmail.com>
Tue, 31 Jan 2012 07:13:31 +0000 (15:13 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 2 Feb 2012 13:50:27 +0000 (13:50 +0000)
commit20a14b84f8d62ba9ad7acad1d67a2ffa3c06468b
tree4509afd7364d94c9ede52f624dcdc179f179af66
parent34ce8d07e63baa37d21aeca87f3248b008114899
regulator: Kill s5m8767_get_reg_id function

Calling s5m8767_get_reg_id() is exactly the same as calling rdev_get_id().
It is pointless to add s5m8767_get_reg_id() function.
Use rdev_get_id() directly and remove s5m8767_get_reg_id() function.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/s5m8767.c