projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae4e825
)
iio: dac: max5821: Set .of_match_table to OF device ID table
author
Javier Martinez Canillas
<javier@osg.samsung.com>
Wed, 15 Mar 2017 04:44:59 +0000
(
01:44
-0300)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 19 Mar 2017 10:56:26 +0000
(10:56 +0000)
The driver has a OF device ID table but the struct i2c_driver
.of_match_table field is not set.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/max5821.c
patch
|
blob
|
history
diff --git
a/drivers/iio/dac/max5821.c
b/drivers/iio/dac/max5821.c
index
86e9e11
..
193fac3
100644
(file)
--- a/
drivers/iio/dac/max5821.c
+++ b/
drivers/iio/dac/max5821.c
@@
-392,6
+392,7
@@
MODULE_DEVICE_TABLE(of, max5821_of_match);
static struct i2c_driver max5821_driver = {
.driver = {
.name = "max5821",
+ .of_match_table = max5821_of_match,
.pm = MAX5821_PM_OPS,
},
.probe = max5821_probe,