[PATCH 0/3] ARM: PM: Drop useless checks for PM_SUSPEND_STANDBY

Tony Lindgren tony at atomide.com
Fri Feb 17 08:40:19 PST 2017


* Geert Uytterhoeven <geert+renesas at glider.be> [170217 08:12]:
> 	Hi all,
> 
> The system suspend implementations for DaVinci, OMAP, and SoCFPGA use
> the standard suspend_valid_only_mem() for their
> platform_suspend_ops.valid() callbacks.  Hence their
> platform_suspend_ops.enter() callbacks will never be called with state
> equal to PM_SUSPEND_STANDBY, and checks for this can thus be removed.
> 
> Thanks for your comments!

Seems safe to remove:

Acked-by: Tony Lindgren <tony at atomide.com>

> Geert Uytterhoeven (3):
>   ARM: davinci: PM: Drop useless check for PM_SUSPEND_STANDBY
>   ARM: OMAP: PM: Drop useless check for PM_SUSPEND_STANDBY
>   ARM: socfpga: PM: Drop useless check for PM_SUSPEND_STANDBY
> 
>  arch/arm/mach-davinci/pm.c | 1 -
>  arch/arm/mach-omap1/pm.c   | 1 -
>  arch/arm/mach-omap2/pm.c   | 1 -
>  arch/arm/mach-socfpga/pm.c | 1 -
>  4 files changed, 4 deletions(-)
> 
> -- 
> 1.9.1
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds



More information about the linux-arm-kernel mailing list