iio: chemical: pms7003: extend supported sensors list
Add other sensors to the compatible list. Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Родитель
76838a8f29
Коммит
036aa1fee1
|
@ -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);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче