From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 0/3] ARM: PM: Drop useless checks for PM_SUSPEND_STANDBY Date: Fri, 17 Feb 2017 08:40:19 -0800 Message-ID: <20170217164018.GE21809@atomide.com> References: <1487347836-14427-1-git-send-email-geert+renesas@glider.be> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from muru.com ([72.249.23.125]:35742 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933900AbdBQQkY (ORCPT ); Fri, 17 Feb 2017 11:40:24 -0500 Content-Disposition: inline In-Reply-To: <1487347836-14427-1-git-send-email-geert+renesas@glider.be> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Geert Uytterhoeven Cc: Sekhar Nori , Kevin Hilman , Aaro Koskinen , Dinh Nguyen , "Rafael J. Wysocki" , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org * Geert Uytterhoeven [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 > 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@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