diff options
-rw-r--r-- | drivers/leds/leds-pca955x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c index 78a7ce816a47..9a873118ea5f 100644 --- a/drivers/leds/leds-pca955x.c +++ b/drivers/leds/leds-pca955x.c | |||
@@ -285,7 +285,7 @@ static int pca955x_probe(struct i2c_client *client, | |||
285 | "slave address 0x%02x\n", | 285 | "slave address 0x%02x\n", |
286 | client->name, chip->bits, client->addr); | 286 | client->name, chip->bits, client->addr); |
287 | 287 | ||
288 | if (!i2c_check_functionality(adapter, I2C_FUNC_I2C)) | 288 | if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA)) |
289 | return -EIO; | 289 | return -EIO; |
290 | 290 | ||
291 | if (pdata) { | 291 | if (pdata) { |