Commit 036aa1fe authored by Tomasz Duszynski's avatar Tomasz Duszynski Committed by Jonathan Cameron

iio: chemical: pms7003: extend supported sensors list

Add other sensors to the compatible list.
Signed-off-by: default avatarTomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 76838a8f
...@@ -321,7 +321,12 @@ static int pms7003_probe(struct serdev_device *serdev) ...@@ -321,7 +321,12 @@ static int pms7003_probe(struct serdev_device *serdev)
} }
static const struct of_device_id pms7003_of_match[] = { static const struct of_device_id pms7003_of_match[] = {
{ .compatible = "plantower,pms1003" },
{ .compatible = "plantower,pms3003" },
{ .compatible = "plantower,pms5003" },
{ .compatible = "plantower,pms6003" },
{ .compatible = "plantower,pms7003" }, { .compatible = "plantower,pms7003" },
{ .compatible = "plantower,pmsa003" },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, pms7003_of_match); MODULE_DEVICE_TABLE(of, pms7003_of_match);
......
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