]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: sec-core: Remove unused s2mpu02-rtc and s2mpu02-clk children
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 30 Oct 2015 07:51:21 +0000 (16:51 +0900)
committerLee Jones <lee.jones@linaro.org>
Fri, 30 Oct 2015 17:20:44 +0000 (17:20 +0000)
The commit 54e8827d5f0e ("mfd: sec-core: Add support for S2MPU02
device") added new MFD child devices for S2MPU02: RTC and clock
provider (the clock provider with new compatible). However support for
these devices was not added to existing drivers (rtc-s5m, clk-s2mps11).
New drivers were not submitted neither.

This means that the name of children devices is completely unused. The
"samsung,s2mpu02-clk" compatible remains undocumented so it is unclear
what is provided by that compatible.

Clean up this by removing unused child devices and undocumented
compatible.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sec-core.c

index 2626fc0b5b8cf199eab8cdfe7854797275afbba2..989076d6cb83415451fe0776c12506493993f12d 100644 (file)
@@ -103,12 +103,9 @@ static const struct mfd_cell s2mpa01_devs[] = {
 };
 
 static const struct mfd_cell s2mpu02_devs[] = {
-       { .name = "s2mpu02-pmic", },
-       { .name = "s2mpu02-rtc", },
        {
-               .name = "s2mpu02-clk",
-               .of_compatible = "samsung,s2mpu02-clk",
-       }
+               .name = "s2mpu02-pmic",
+       },
 };
 
 #ifdef CONFIG_OF