summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/hp03.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/hp03.c')
-rw-r--r--drivers/iio/pressure/hp03.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/pressure/hp03.c b/drivers/iio/pressure/hp03.c
index 8bdb279129fa..cbb4aaf45e2c 100644
--- a/drivers/iio/pressure/hp03.c
+++ b/drivers/iio/pressure/hp03.c
@@ -266,14 +266,14 @@ static int hp03_probe(struct i2c_client *client)
}
static const struct i2c_device_id hp03_id[] = {
- { "hp03", 0 },
- { },
+ { "hp03" },
+ { }
};
MODULE_DEVICE_TABLE(i2c, hp03_id);
static const struct of_device_id hp03_of_match[] = {
{ .compatible = "hoperf,hp03" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(of, hp03_of_match);