diff options
| author | Uwe Kleine-König <[email protected]> | 2024-01-09 22:34:35 +0100 |
|---|---|---|
| committer | Uwe Kleine-König <[email protected]> | 2024-02-15 12:28:02 +0100 |
| commit | 91bb23493f8fd115e362d075ebaa3e6f12d1439d (patch) | |
| tree | b9cfc54f8f4daabe0e4121a081030062884946d1 /tools/perf/scripts/python | |
| parent | 0e253d4193cbc1c63b174f807a26e8b17693049d (diff) | |
pwm: Drop duplicate check against chip->npwm in of_pwm_xlate_with_flags()
args->args[0] is passed as parameter "index" to pwm_request_from_chip().
The latter function also checks for index >= npwm, so
of_pwm_xlate_with_flags() doesn't need to do that.
Link: https://lore.kernel.org/r/b06e445a6ed62a339add727eccb969a33d678386.1704835845.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions