rtc: fsl-ftm-alarm: remove select FSL_RCPM and default y from Kconfig
authorLi Yang <leoyang.li@nxp.com>
Fri, 8 Nov 2019 22:40:56 +0000 (16:40 -0600)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 15 Nov 2019 12:59:29 +0000 (13:59 +0100)
The Flextimer alarm is primarily used as a wakeup source for system
power management.  But it shouldn't select the power management driver
as they don't really have dependency of each other.

Also remove the default y as it is not a critical feature for the
systems.

Signed-off-by: Li Yang <leoyang.li@nxp.com>
Link: https://lore.kernel.org/r/1573252856-11759-1-git-send-email-leoyang.li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index f28aee4..c3c271c 100644 (file)
@@ -1326,8 +1326,6 @@ config RTC_DRV_IMXDI
 config RTC_DRV_FSL_FTM_ALARM
        tristate "Freescale FlexTimer alarm timer"
        depends on ARCH_LAYERSCAPE || SOC_LS1021A
-       select FSL_RCPM
-       default y
        help
           For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
           LS1088A, LS208xA, we can use FTM as the wakeup source.