diff options
Diffstat (limited to 'drivers/iio/pressure/mpl115_i2c.c')
-rw-r--r-- | drivers/iio/pressure/mpl115_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/pressure/mpl115_i2c.c b/drivers/iio/pressure/mpl115_i2c.c index 9ea055c3f89e..1a29be462f6e 100644 --- a/drivers/iio/pressure/mpl115_i2c.c +++ b/drivers/iio/pressure/mpl115_i2c.c @@ -42,7 +42,7 @@ static int mpl115_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id) { if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA)) - return -ENODEV; + return -EOPNOTSUPP; return mpl115_probe(&client->dev, id->name, &mpl115_i2c_ops); } |