diff options
author | Antonio Ospite <[email protected]> | 2013-08-02 11:23:01 -0700 |
---|---|---|
committer | Bryan Wu <[email protected]> | 2013-08-26 17:22:11 -0700 |
commit | 29ab311c44fd9de932bceddc6b2587600abd1c49 (patch) | |
tree | 2f5b29bd61e40e498171056cb19ee86030977831 /drivers/message/fusion/lsi/mpi_raid.h | |
parent | 2e87c09209cce10a0744eb28c25e93fe9fdc3e81 (diff) |
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 <[email protected]>
Signed-off-by: Antonio Ospite <[email protected]>
Reviewed-by: Jingoo Han <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions