]> asedeno.scripts.mit.edu Git - linux.git/commit
leds: ti-lmu-common: Fix coccinelle issue in TI LMU
authorDan Murphy <dmurphy@ti.com>
Wed, 28 Aug 2019 15:22:19 +0000 (10:22 -0500)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Sun, 1 Sep 2019 11:33:28 +0000 (13:33 +0200)
commit2637fd436c60c599e0967faee1903cce58c4a7f9
tree66e2bd16921fd7048cdac46fa29c284a8564c8b2
parent070a0eed7580a976b397dce981db9746df714327
leds: ti-lmu-common: Fix coccinelle issue in TI LMU

Fix the coccinelle issues found in the TI LMU common code

drivers/leds/leds-ti-lmu-common.c:97:20-29: WARNING: Unsigned expression compared with zero: ramp_down < 0
drivers/leds/leds-ti-lmu-common.c:97:5-12: WARNING: Unsigned expression compared with zero: ramp_up < 0

Fixes: 3fce8e1eb994 ("leds: TI LMU: Add common code for TI LMU devices")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-ti-lmu-common.c