Skip to content

Commit 644a374

Browse files
krzkLee Jones
authored andcommitted
mfd: sec-core: Remove unused s2mpu02-rtc and s2mpu02-clk children
The commit 54e8827 ("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>
1 parent 5530ef1 commit 644a374

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎drivers/mfd/sec-core.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,9 @@ static const struct mfd_cell s2mpa01_devs[] = {
103103
};
104104

105105
static const struct mfd_cell s2mpu02_devs[] = {
106-
{ .name = "s2mpu02-pmic", },
107-
{ .name = "s2mpu02-rtc", },
108106
{
109-
.name = "s2mpu02-clk",
110-
.of_compatible = "samsung,s2mpu02-clk",
111-
}
107+
.name = "s2mpu02-pmic",
108+
},
112109
};
113110

114111
#ifdef CONFIG_OF

0 commit comments

Comments
 (0)