]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/leds/leds-pca955x.c
nfp: move physical port init into a helper
[mirror_ubuntu-artful-kernel.git] / drivers / leds / leds-pca955x.c
index 78a7ce816a4792c7b1ddc101cece8c265084e630..9a873118ea5fcf4ff7adae18e03b3a351936df16 100644 (file)
@@ -285,7 +285,7 @@ static int pca955x_probe(struct i2c_client *client,
                        "slave address 0x%02x\n",
                        client->name, chip->bits, client->addr);
 
-       if (!i2c_check_functionality(adapter, I2C_FUNC_I2C))
+       if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA))
                return -EIO;
 
        if (pdata) {