diff options
| author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-12-21 01:44:00 -0800 |
|---|---|---|
| committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 17:47:05 -0800 |
| commit | 8a66a579083a20172a46e74d175a57621dccae0a (patch) | |
| tree | e86f30b35852a0237ad64b7eed227f5edada1aa8 /tools/perf/scripts/python | |
| parent | pwm: Add devm_of_pwm_get() as exported API for users (diff) | |
| download | linux-8a66a579083a20172a46e74d175a57621dccae0a.tar.gz linux-8a66a579083a20172a46e74d175a57621dccae0a.zip | |
leds: leds-pwm: Simplify cleanup code
The code looks more nicer if we use:
while (i--)
instead:
if (i > 0)
for (i = i - 1; i >= 0; i--)
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
