gpio: pcf857x: Drop unneeded explicit casting
The s32 is compatible with int, no need to cast. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
e2d1812116
commit
51435300df
@ -88,7 +88,7 @@ static int i2c_write_le8(struct i2c_client *client, unsigned int data)
|
||||
|
||||
static int i2c_read_le8(struct i2c_client *client)
|
||||
{
|
||||
return (int)i2c_smbus_read_byte(client);
|
||||
return i2c_smbus_read_byte(client);
|
||||
}
|
||||
|
||||
/* Talk to 16-bit I/O expander */
|
||||
|
Loading…
x
Reference in New Issue
Block a user