diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2013-08-02 18:23:01 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-08-27 00:22:11 (GMT) |
commit | 29ab311c44fd9de932bceddc6b2587600abd1c49 (patch) | |
tree | 2f5b29bd61e40e498171056cb19ee86030977831 /fs/ext2 | |
parent | 2e87c09209cce10a0744eb28c25e93fe9fdc3e81 (diff) | |
download | linux-29ab311c44fd9de932bceddc6b2587600abd1c49.tar.xz |
leds: leds-lp3944, fix "sparse" warning "mixing different enum types"
Fix a warning from "sparse":
drivers/leds/leds-lp3944.c:292:23: warning: mixing different enum types
drivers/leds/leds-lp3944.c:292:23: int enum led_brightness versus
drivers/leds/leds-lp3944.c:292:23: int enum lp3944_status
Keeping track of LP3944_LED_STATUS_OFF and LP3944_LED_STATUS_ON only in
lp3944_led_set_brightness() is OK, as the handling of DIM (blinking)
mode[s] is in lp3944_led_set_blink().
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions