regulator: Fix an s5m8767 build failure
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 30 Jul 2012 22:36:16 +0000 (00:36 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 30 Jul 2012 22:51:09 +0000 (00:51 +0200)
commit938e05bf131334804e08ec4fcd381edfd2d699f6
treedb68f3da6be8d61ab657035c3901c65362b52c87
parent37cd9600a9e20359b0283983c9e3a55d84347168
regulator: Fix an s5m8767 build failure

Due to a merge conflict we are getting this:

drivers/regulator/s5m8767.c: In function ‘s5m8767_pmic_probe’:
drivers/regulator/s5m8767.c:575:2: error: implicit declaration of function
‘s5m_reg_write’ [-Werror=implicit-function-declaration]

This is fixed by fully converting this driver to the new s5m API.

Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/regulator/s5m8767.c