]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: hub: Use max() to improve usb_set_lpm_pel()
authorThorsten Blum <thorsten.blum@linux.dev>
Wed, 17 Sep 2025 10:12:31 +0000 (12:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Oct 2025 07:11:49 +0000 (09:11 +0200)
commit87653d54edd69f9f623d0a650323ec1adbbd2952
tree6cbf5d5f92e5bff20c04fadb6411ca1c076539f3
parent09bf21bf5249880f62fe759b53b14b4b52900c6c
usb: hub: Use max() to improve usb_set_lpm_pel()

Use max() to simplify and improve the readability of usb_set_lpm_pel().

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250917101235.58381-2-thorsten.blum@linux.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c