summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>2025-09-24 11:06:40 +0200
committerUwe Kleine-König <ukleinek@kernel.org>2025-11-14 11:56:14 +0100
commit0251fa8887416702cdebf75a509b949ff2cb0a0d (patch)
tree8dc3eb093f0fcf1aa34a436ca6ed076be08391f7 /tools/testing/selftests/net/lib/py/utils.py
parent0559730b8570259ef948e9083653f8a87baba182 (diff)
pwm: max7360: Clean MAX7360 code
Duty steps computation can never end in values higher than MAX7360_PWM_MAX: remove useless use of min(). Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Suggested-by: Uwe Kleine-König <ukleinek@kernel.org> Link: https://patch.msgid.link/20250924-mdb-max7360-pwm-optimize-v1-1-5959eeed20d8@bootlin.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions