summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/pac1934.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/pac1934.c')
-rw-r--r--drivers/iio/adc/pac1934.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/pac1934.c b/drivers/iio/adc/pac1934.c
index 7ef249d83286..20802b7f49ea 100644
--- a/drivers/iio/adc/pac1934.c
+++ b/drivers/iio/adc/pac1934.c
@@ -1507,7 +1507,7 @@ static int pac1934_probe(struct i2c_client *client)
indio_dev->name = pac1934_chip_config[ret].name;
}
- if (acpi_match_device(dev->driver->acpi_match_table, dev))
+ if (is_acpi_device_node(dev_fwnode(dev)))
ret = pac1934_acpi_parse_channel_config(client, info);
else
/*