From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Claudiu <claudiu.beznea@tuxon.dev>
Cc: ulf.hansson@linaro.org, p.zabel@pengutronix.de,
linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Subject: Re: [PATCH 2/3] mmc: renesas_sdhi: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr()
Date: Thu, 13 Nov 2025 22:08:26 +0100 [thread overview]
Message-ID: <aRZIymT9I74JcQqo@ninjato> (raw)
In-Reply-To: <20251008042526.3312597-3-claudiu.beznea.uj@bp.renesas.com>
[-- Attachment #1: Type: text/plain, Size: 722 bytes --]
On Wed, Oct 08, 2025 at 07:25:24AM +0300, Claudiu wrote:
> From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
>
> SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() are deprecated now
> and require __maybe_unused protection against unused function warnings.
> The usage of pm_ptr() and SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() allows
> the compiler to see the functions, thus suppressing the warning. Thus
> drop the __maybe_unused markings.
Well, #ifdefs, not __maybe_unused.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
I removed the chunk mentioned by Geert. I didn't dive into the details,
just tested it.
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-11-13 21:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-08 4:25 [PATCH 0/3] mmc: renesas_sdhi: Handle resets Claudiu
2025-10-08 4:25 ` [PATCH 1/3] mmc: renesas_sdhi: Deassert the reset signal on probe Claudiu
2025-10-10 7:51 ` Geert Uytterhoeven
2025-10-10 9:35 ` Claudiu Beznea
2025-11-13 21:06 ` Wolfram Sang
2025-10-08 4:25 ` [PATCH 2/3] mmc: renesas_sdhi: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr() Claudiu
2025-10-13 16:20 ` Geert Uytterhoeven
2025-11-12 18:28 ` Wolfram Sang
2025-11-13 8:32 ` Geert Uytterhoeven
2025-11-11 16:22 ` Ulf Hansson
2025-11-13 8:01 ` Claudiu Beznea
2025-11-13 21:08 ` Wolfram Sang [this message]
2025-10-08 4:25 ` [PATCH 3/3] mmc: renesas_sdhi: Add suspend/resume hooks Claudiu
2025-11-11 16:24 ` Ulf Hansson
2025-11-13 21:09 ` Wolfram Sang
2025-11-10 15:36 ` [PATCH 0/3] mmc: renesas_sdhi: Handle resets Claudiu Beznea
2025-11-12 18:25 ` Wolfram Sang
2025-11-13 8:12 ` Claudiu Beznea
2025-11-13 21:13 ` Wolfram Sang
2025-11-17 9:11 ` Claudiu Beznea
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=aRZIymT9I74JcQqo@ninjato \
--to=wsa+renesas@sang-engineering.com \
--cc=claudiu.beznea.uj@bp.renesas.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=ulf.hansson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.