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:
Andy Shevchenko 2023-01-16 14:47:04 +02:00 committed by Bartosz Golaszewski
parent e2d1812116
commit 51435300df

View File

@ -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 */