Commit 176a5ee3 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: pcf85363: remove bogus i2c functionality check

regmap is abstracting the i2c functionalities the best it can, there is no
need to check.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent c0ec8319
......@@ -385,9 +385,6 @@ static int pcf85363_probe(struct i2c_client *client,
if (data)
config = data;
if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
return -ENODEV;
pcf85363 = devm_kzalloc(&client->dev, sizeof(struct pcf85363),
GFP_KERNEL);
if (!pcf85363)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment