Skip to content

ARM: PM: Drop useless checks for PM_SUSPEND_STANDBY

Tony Lindgren linux-arm-kernel linux-omap linux-pm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchTony Lindgren
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] ARM: PM: Drop useless checks for PM_SUSPEND_STANDBY
Quoted 9 lines · Geert Uytterhoeven

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:

Quoted 24 lines

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(-)
Signature · 12 lines
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