diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-09-28 14:19:08 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-01-09 17:00:54 +0100 |
commit | 00a5d41ee1b05a8f0c75e1f7e26d363f4c68420e (patch) | |
tree | cf36294191d1269d9a29f1f70efec47f4d2ab3c6 /drivers/soc/ti | |
parent | e1d3cd9451c106b292f1741bff1c6bbc6424e407 (diff) |
ARM: omap2: smartreflex: remove on_init control
Nothing calls omap_enable_smartreflex_on_init() any more, so it
does not need to be tracked either.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/ti')
-rw-r--r-- | drivers/soc/ti/smartreflex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/soc/ti/smartreflex.c b/drivers/soc/ti/smartreflex.c index 6a389a6444f3..9d9496e0a94c 100644 --- a/drivers/soc/ti/smartreflex.c +++ b/drivers/soc/ti/smartreflex.c @@ -198,7 +198,6 @@ static void sr_stop_vddautocomp(struct omap_sr *sr) */ static int sr_late_init(struct omap_sr *sr_info) { - struct omap_sr_data *pdata = sr_info->pdev->dev.platform_data; int ret = 0; if (sr_class->notify && sr_class->notify_flags && sr_info->irq) { @@ -209,9 +208,6 @@ static int sr_late_init(struct omap_sr *sr_info) disable_irq(sr_info->irq); } - if (pdata && pdata->enable_on_init) - sr_start_vddautocomp(sr_info); - return ret; error: |