Re: [PATCH] firewire: ohci: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
From: Takashi Sakamoto
Date: Mon Aug 31 2026 - 05:42:30 EST
Hi,
On Thu, Aug 20, 2026 at 03:30:34PM +0700, Triet Hoang wrote:
> Convert the deprecated SIMPLE_DEV_PM_OPS
> to DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr().
>
> This lets us drop the __maybe_unused annotations from the suspend and
> resume callbacks, and reduces kernel size in case CONFIG_PM or
> CONFIG_PM_SLEEP is disabled.
>
> Signed-off-by: Triet Hoang <triet.hoang.dev@xxxxxxxxx>
> ---
> drivers/firewire/ohci.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to for-next branch.
Thanks
Takashi Sakamoto