summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/hts221_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/humidity/hts221_spi.c')
-rw-r--r--drivers/iio/humidity/hts221_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/humidity/hts221_spi.c b/drivers/iio/humidity/hts221_spi.c
index 055dba8897d2..ba1115489c2c 100644
--- a/drivers/iio/humidity/hts221_spi.c
+++ b/drivers/iio/humidity/hts221_spi.c
@@ -56,7 +56,7 @@ static struct spi_driver hts221_driver = {
.driver = {
.name = "hts221_spi",
.pm = &hts221_pm_ops,
- .of_match_table = of_match_ptr(hts221_spi_of_match),
+ .of_match_table = hts221_spi_of_match,
},
.probe = hts221_spi_probe,
.id_table = hts221_spi_id_table,