]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: usb251xb: use modern PM macros
authorJisheng Zhang <jszhang@kernel.org>
Mon, 25 Aug 2025 23:45:08 +0000 (07:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:23:29 +0000 (15:23 +0200)
commit22fbedf9d9c2d219339620a95a0611c9ddfc397b
treeb1a790b30b8854bc3974e19e9e5b53929568b057
parentea32cd911368e32eb770c9078158467845c82b9a
usb: usb251xb: use modern PM macros

Use the modern PM macros for the suspend and resume functions to be
automatically dropped by the compiler when CONFIG_PM or
CONFIG_PM_SLEEP are disabled, without having to use __maybe_unused.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Richard Leitner <richard.leitner@linux.dev>
Link: https://lore.kernel.org/r/20250825234509.1041-3-jszhang@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb251xb.c