summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-lt3593.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2018-08-23 23:24:35 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-09-02 09:56:49 +0100
commit24493cce03b689f9723244f9a7c2247296fc617e (patch)
tree407ff781e9a5e523c14d16e5e46d61e2050afd69 /drivers/leds/leds-lt3593.c
parent8ba0dbfd07a3587aedb952a95292e41d70dbf16e (diff)
iio: light: isl29501: Simplify code to kill compiler warning
With gcc 4.1.2: drivers/iio/proximity/isl29501.c: In function ‘isl29501_register_write’: drivers/iio/proximity/isl29501.c:235: warning: ‘msb’ may be used uninitialized in this function While this is a false positive, it can easily be avoided by removing the "msb" intermediate variable. Remove the "lsb" intermediate variable for consistency. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/leds/leds-lt3593.c')
0 files changed, 0 insertions, 0 deletions