linux/drivers/iio/proximity
Geert Uytterhoeven 24493cce03 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>
2018-09-02 09:56:49 +01:00
..
as3935.c iio: add SPDX identifier for various drivers 2018-02-18 11:55:19 +00:00
isl29501.c iio: light: isl29501: Simplify code to kill compiler warning 2018-09-02 09:56:49 +01:00
Kconfig iio: light: isl29501: Add support for the ISL29501 ToF sensor. 2018-07-23 19:18:10 +01:00
Makefile iio: light: isl29501: Add support for the ISL29501 ToF sensor. 2018-07-23 19:18:10 +01:00
pulsedlight-lidar-lite-v2.c iio: add SPDX identifier for various drivers 2018-02-18 11:55:19 +00:00
rfd77402.c iio: proximity: Add rfd77402 driver 2017-10-14 18:28:51 +01:00
srf04.c iio:proximity: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 22:14:51 +01:00
srf08.c iio:proximity: drop assign iio_info.driver_module and iio_trigger_ops.owner 2017-08-22 22:14:51 +01:00
sx9500.c iio: proximity: sx9500: Add GPIO ACPI mapping table 2018-03-03 15:11:27 +00:00