regulator: dbx500: remove unused functions in dbx500-prcmu.c
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 23 Sep 2016 12:47:22 +0000 (20:47 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2016 16:40:22 +0000 (09:40 -0700)
commit5258beedc30a72b0c21521aa531ed26ad45cb3f7
tree6d4564fd94cffb71d15dd01b3043ef7f023270b2
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
regulator: dbx500: remove unused functions in dbx500-prcmu.c

We get 2 warnings when building kernel with W=1:
drivers/regulator/dbx500-prcmu.c:78:6: warning: no previous prototype for 'ux500_regulator_suspend_debug' [-Wmissing-prototypes]
drivers/regulator/dbx500-prcmu.c:87:6: warning: no previous prototype for 'ux500_regulator_resume_debug' [-Wmissing-prototypes]

In fact, these functions are unused in
dbx500-prcmu.c, but should be removed.

So this patch removes the unused functions.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/dbx500-prcmu.c