diff options
| author | R Sundar <[email protected]> | 2024-09-25 12:20:14 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-10-04 13:12:07 +0000 |
| commit | d7e75301b5d58f985a128e3875bd2ddf2bd3943b (patch) | |
| tree | 6373cbf7268292e00ec3c838121f27bf0c838a2f /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | usb: typec: ucsi: glink: use device_for_each_child_node_scoped() (diff) | |
| download | kernel-d7e75301b5d58f985a128e3875bd2ddf2bd3943b.tar.gz kernel-d7e75301b5d58f985a128e3875bd2ddf2bd3943b.zip | |
usb: typec: tcpm: use max() to get higher value
Use max() for better readability and to fix cocci warnings.
Reported-by: kernel test robot <[email protected]>
Reported-by: Julia Lawall <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: R Sundar <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions
