projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc21acc
)
iio: adc: nau7802: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 21 Oct 2013 09:27:00 +0000
(10:27 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Wed, 23 Oct 2013 16:52:25 +0000
(17:52 +0100)
nau7802_dt_ids is always compiled in. Hence of_match_ptr is not
needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/nau7802.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/nau7802.c
b/drivers/iio/adc/nau7802.c
index adff9cbbcbc4cc53260ab0c835d7a3a4cf36a9f3..54c5babe67469bede8e70412470a24dd901e9000 100644
(file)
--- a/
drivers/iio/adc/nau7802.c
+++ b/
drivers/iio/adc/nau7802.c
@@
-570,7
+570,7
@@
static struct i2c_driver nau7802_driver = {
.id_table = nau7802_i2c_id,
.driver = {
.name = "nau7802",
- .of_match_table =
of_match_ptr(nau7802_dt_ids)
,
+ .of_match_table =
nau7802_dt_ids
,
},
};