From: Guenter Roeck <linux@roeck-us.net>
To: Fabio Estevam <festevam@gmail.com>, wim@linux-watchdog.org
Cc: support.opensource@diasemi.com, linux-watchdog@vger.kernel.org,
Fabio Estevam <festevam@denx.de>
Subject: Re: [PATCH v2 2/2] watchdog: da9063: Remove __maybe_unused notations
Date: Fri, 18 Oct 2024 07:19:29 -0700 [thread overview]
Message-ID: <25cdee97-dbe3-4d20-be4c-61cd9b6be78f@roeck-us.net> (raw)
In-Reply-To: <20241018135821.274376-2-festevam@gmail.com>
On 10/18/24 06:58, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> Use the DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros to
> handle the .suspend/.resume callbacks.
>
> These macros allow the suspend and resume functions to be automatically
> dropped by the compiler when CONFIG_SUSPEND is disabled, without having
> to use __maybe_unused notation.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
prev parent reply other threads:[~2024-10-18 14:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 13:58 [PATCH v2 1/2] watchdog: da9063: Do not use a global variable Fabio Estevam
2024-10-18 13:58 ` [PATCH v2 2/2] watchdog: da9063: Remove __maybe_unused notations Fabio Estevam
2024-10-18 14:19 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25cdee97-dbe3-4d20-be4c-61cd9b6be78f@roeck-us.net \
--to=linux@roeck-us.net \
--cc=festevam@denx.de \
--cc=festevam@gmail.com \
--cc=linux-watchdog@vger.kernel.org \
--cc=support.opensource@diasemi.com \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox