]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: gpib: hp_82341: Replace manual comparison with min/max macro
authorYuesong Li <liyuesong@vivo.com>
Thu, 19 Jun 2025 08:07:51 +0000 (16:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 15:33:03 +0000 (17:33 +0200)
commit9adc643d43837a4af996af5511dab5a7b5a64315
tree0e34bedea56280c7bdde1797b75ba03df0a30314
parent52bacd2766a3426d21aa5396772ac653b7dbd822
staging: gpib: hp_82341: Replace manual comparison with min/max macro

This improves code readability by using the standard kernel macro
for min/max value selection while maintaining identical functionality.

Signed-off-by: Yuesong Li <liyuesong@vivo.com>
Link: https://lore.kernel.org/r/20250619080822.677662-1-liyuesong@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/hp_82341/hp_82341.c