Message ID | YJ523y0dhc1IwCOB@mwanda (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] iio: light: tsl2591: fix some signedness bugs | expand |
diff --git a/drivers/iio/light/tsl2591.c b/drivers/iio/light/tsl2591.c index 26e3cb6c4ff8..39e68d0c9d6a 100644 --- a/drivers/iio/light/tsl2591.c +++ b/drivers/iio/light/tsl2591.c @@ -451,7 +451,7 @@ static int tsl2591_read_channel_data(struct iio_dev *indio_dev, sizeof(als_data), als_data); if (ret < 0) { dev_err(&client->dev, "Failed to read data bytes"); - return ret; + return ret; } als_ch0 = get_unaligned_le16(&als_data[0]);
This return statement is indented one more tab than it should be. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> --- drivers/iio/light/tsl2591.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)