From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v2 3/3] gpio: rcar: Use WAKEUP_PATH driver PM flag Date: Tue, 2 Jan 2018 14:57:00 +0100 Message-ID: References: <1514554304-18989-1-git-send-email-ulf.hansson@linaro.org> <1514554304-18989-4-git-send-email-ulf.hansson@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: Ulf Hansson Cc: "Rafael J. Wysocki" , Geert Uytterhoeven , Linux PM , Thomas Gleixner , Jason Cooper , Marc Zyngier , Linus Walleij , Simon Horman , Niklas Soderlund , Linux-Renesas , linux-gpio@vger.kernel.org, Linux Kernel Mailing List List-Id: linux-gpio@vger.kernel.org Hi Ulf, On Tue, Jan 2, 2018 at 2:02 PM, Ulf Hansson wrote: >>>> Signed-off-by: Geert Uytterhoeven >>>> [Ulf: Converted to use the WAKEUP_PATH driver PM flag] >> >> Ulf: + killing the DEV_PM_OPS define, increasing kernel size if PM_SUSPEND=n? > > Oh, yes - correct! > > The code looks nicer, with the penalty of one static struct declared > and not used, in case CONFIG_PM_SLEEP is unset. At 23 pointers of 4 or 8 bytes each in 3 drivers, I don't consider this insignificant. Fortunately this driver is not used on RZ/A1, which you can run without external RAM if you manage to fit everything in 10 MiB of SRAM... > Should I revert back to your proposal, I am fine with whatever? Yes please. 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