From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753606AbeABN5H (ORCPT + 1 other); Tue, 2 Jan 2018 08:57:07 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:41179 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753123AbeABN5C (ORCPT ); Tue, 2 Jan 2018 08:57:02 -0500 X-Google-Smtp-Source: ACJfBouCBCIKHU6fiHLEzLyKLzY8gpYNyR+Hg4hsilXy1MK0JoftXK5ESaNOzSY6M+MTr8+D0C7DSGm8+Wk+oJF9Uok= MIME-Version: 1.0 In-Reply-To: References: <1514554304-18989-1-git-send-email-ulf.hansson@linaro.org> <1514554304-18989-4-git-send-email-ulf.hansson@linaro.org> From: Geert Uytterhoeven Date: Tue, 2 Jan 2018 14:57:00 +0100 X-Google-Sender-Auth: coQn6FX1OlY7U-icwD_Cx21Wg9o Message-ID: Subject: Re: [PATCH v2 3/3] gpio: rcar: Use WAKEUP_PATH driver PM flag 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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