ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power
authorMaciej Falkowski <maciej.falkowski9@gmail.com>
Thu, 1 Apr 2021 16:04:34 +0000 (18:04 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 26 May 2021 11:01:27 +0000 (14:01 +0300)
commitbae989c4bc53f861cc1b706aab0194703e9907a8
tree3aec7865193766a8da9524f0e99ab4a34fa9806f
parentc8692ad416dcc420ce1b403596a425c8f4c2720b
ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power

The ams_delta_camera_power() function is unused as reports
Clang compilation with omap1_defconfig on linux-next:

arch/arm/mach-omap1/board-ams-delta.c:462:12: warning: unused function 'ams_delta_camera_power' [-Wunused-function]
static int ams_delta_camera_power(struct device *dev, int power)
           ^
1 warning generated.

The soc_camera support was dropped without removing
ams_delta_camera_power() function, making it unused.

Fixes: ce548396a433 ("media: mach-omap1: board-ams-delta.c: remove soc_camera dependencies")
Signed-off-by: Maciej Falkowski <maciej.falkowski9@gmail.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://github.com/ClangBuiltLinux/linux/issues/1326
arch/arm/mach-omap1/board-ams-delta.c