diff options
author | R Sundar <prosunofficial@gmail.com> | 2024-09-25 15:20:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-04 16:12:07 +0300 |
commit | d7e75301b5d58f985a128e3875bd2ddf2bd3943b (patch) | |
tree | 6373cbf7268292e00ec3c838121f27bf0c838a2f /drivers/usb/cdns3/cdns3-starfive.c | |
parent | 4904f9aa35b1b5f94cc388320f6835bc73f2ab87 (diff) | |
download | linux-d7e75301b5d58f985a128e3875bd2ddf2bd3943b.tar.xz |
usb: typec: tcpm: use max() to get higher value
Use max() for better readability and to fix cocci warnings.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@inria.fr>
Closes: https://lore.kernel.org/r/202409231009.2efXAh9b-lkp@intel.com/
Signed-off-by: R Sundar <prosunofficial@gmail.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240925122014.552221-1-prosunofficial@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions