diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-14 12:33:24 +0300 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-22 16:39:28 +0300 |
commit | 9bda6a81ddaed8a61ca0211d6c14697177b98fbe (patch) | |
tree | 1c5105baea033bee12d8c5801469367ca0e4e0ac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4aacf5fdf5aa759b3dbbee3e6b6ba59e564b6811 (diff) | |
download | linux-9bda6a81ddaed8a61ca0211d6c14697177b98fbe.tar.xz |
staging: greybus: pwm: Rely on pwm framework to pass a valid hwpwm
The pwm framework already asserts to only pass a hwpwm value (= which)
less than npwm (= pwmc->pwm_max + 1). So there is no need to recheck
this condition. Drop the respective checks.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/e003bc5e8e66f27f2b8fdc525a536d865888cffe.1707900770.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions