regulator: dbx500-prcmu: Remove unused function dbx500_regulator_testcase()
authorLee Jones <lee.jones@linaro.org>
Thu, 25 Jun 2020 16:36:08 +0000 (17:36 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 25 Jun 2020 19:11:12 +0000 (20:11 +0100)
commitd3cc3dfcc20e72d537550dbeebbe4a8faa7c2606
tree18c6f44fc1fb83dbc2178cca4a0968155b334f84
parentda6690767cbd344998f36081815c85f3d467e78c
regulator: dbx500-prcmu: Remove unused function dbx500_regulator_testcase()

There isn't any code present within the current kernel to
override this 'weak' function.  Besides returning '0', which
is never checked anyway, the whole function appears to be
superfluous.

Consequently fixes W=1 warning:

 drivers/regulator/dbx500-prcmu.c:113:27: warning: no previous prototype for ‘dbx500_regulator_testcase’ [-Wmissing-prototypes]
 113 | int __attribute__((weak)) dbx500_regulator_testcase(
 | ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200625163614.4001403-5-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/dbx500-prcmu.c