ARM: socfpga: PM: Drop useless check for PM_SUSPEND_STANDBY
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 2 Mar 2018 14:04:47 +0000 (15:04 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 7 Mar 2018 15:08:20 +0000 (16:08 +0100)
commitde067e46eddeda9d8e58996a99e0b2cfc4f0623d
tree939febbcdb84b6205259eb46e28c2e8f5abff672
parent4ffb75c2dc3ae818bf8a32493e22ac632dd51558
ARM: socfpga: PM: Drop useless check for PM_SUSPEND_STANDBY

As SoCFPGA uses the standard suspend_valid_only_mem() for its
platform_suspend_ops.valid() callback, its platform_suspend_ops.enter()
callback will never be called with state equal to PM_SUSPEND_STANDBY.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-socfpga/pm.c