projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76838a8
)
iio: chemical: pms7003: extend supported sensors list
author
Tomasz Duszynski
<tduszyns@gmail.com>
Sun, 17 Feb 2019 19:22:12 +0000
(20:22 +0100)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:40 +0000
(20:19 +0100)
Add other sensors to the compatible list.
Signed-off-by: Tomasz Duszynski <tduszyns@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/pms7003.c
patch
|
blob
|
history
diff --git
a/drivers/iio/chemical/pms7003.c
b/drivers/iio/chemical/pms7003.c
index db8e7b2327b3e82f46b54429bced7c474c5617d9..23c9ab25247011354c7c1e9e123d5942d5d94ac1 100644
(file)
--- a/
drivers/iio/chemical/pms7003.c
+++ b/
drivers/iio/chemical/pms7003.c
@@
-321,7
+321,12
@@
static int pms7003_probe(struct serdev_device *serdev)
}
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,pmsa003" },
{ }
};
MODULE_DEVICE_TABLE(of, pms7003_of_match);