summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/tosa-bt.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-08-13 17:13:10 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2018-08-30 19:51:43 +0200
commitb2a13da505e8614f55dc4abb6e2067261be35a55 (patch)
treeb89cdb496c268746c8def94a494a30f1730eab06 /arch/arm/mach-pxa/tosa-bt.c
parente0b35c1ab5ac5f0453d1093770e119bd8d63d85c (diff)
downloadlinux-b2a13da505e8614f55dc4abb6e2067261be35a55.tar.bz2
ARM: s3c24xx: Remove empty gta02_pmu children probe
Since commit 67e67df8da72 ("gta02: Use pcf50633 backlight driver instead of platform backlight driver.") the list of gta02 pmu children is empty therefore looping through it and adding devices is a no-op. This also fixes the GCC v8.1 W=1 warning: arch/arm/mach-s3c24xx/mach-gta02.c: In function 'gta02_pmu_attach_child_devices': arch/arm/mach-s3c24xx/mach-gta02.c:538:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] for (n = 0; n < ARRAY_SIZE(gta02_devices_pmu_children); n++) ^ Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-pxa/tosa-bt.c')
0 files changed, 0 insertions, 0 deletions