regulator: tps65023: Remove duplicate test for I2C_FUNC_SMBUS_BYTE_DATA functionality
[sfrench/cifs-2.6.git] / drivers / regulator / tps65023-regulator.c
index 3ef67a86115c9c09e0196915c17f745d0099bb31..7380af8bd50d4e8d699f7564c6ab4bb3e4edc84b 100644 (file)
@@ -211,9 +211,6 @@ static int tps_65023_probe(struct i2c_client *client,
        int i;
        int error;
 
-       if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
-               return -EIO;
-
        /**
         * init_data points to array of regulator_init structures
         * coming from the board-evm file.