aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2022-06-29 17:10:11 +0200
committerDaniel Lezcano <[email protected]>2022-07-28 17:29:47 +0200
commit25bff3ed9a8aaee45c3b554cca58673f1bea1bdc (patch)
treec9afd7b59d84adf69216c64dedec4189439745d1 /drivers/usb/cdns3/cdns3-trace.c
parent66a0b101efca70097a14aece9c76bc24cd0da119 (diff)
thermal/core: Use clamp() helper in the stepwise governor
The code is actually clampling the next cooling device state using the lowest and highest states of the thermal instance. That code can be replaced by the clamp() macro which does exactly the same. It results in a simpler routine to read. Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions