From 67fc0120e519b7b6937899b038cd4044d3ed573b Mon Sep 17 00:00:00 2001 From: Monam Agarwal Date: Sun, 9 Mar 2014 10:58:40 +0530 Subject: [PATCH] Staging: iio/light: Fix return values in tsl2583.c This patch fixes following smatch warnings: /drivers/staging/iio/light/tsl2583.c:436 taos_chip_on() info: why not propagate 'ret' from i2c_smbus_write_byte_data() instead of (-1)? /drivers/staging/iio/light/tsl2583.c:448 taos_chip_on() info: why not propagate 'ret' from i2c_smbus_write_byte_data() instead of (-1)? /drivers/staging/iio/light/tsl2583.c:461 taos_chip_on() info: why not propagate 'ret' from i2c_smbus_write_byte_data() instead of (-1)? Signed-off-by: Monam Agarwal Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed