projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a451521
)
staging: iio: hmc5843: Remove redundant of_match_ptr helper
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 21 Dec 2013 10:02:00 +0000
(10:02 +0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 22 Dec 2013 16:02:14 +0000
(16:02 +0000)
'hmc5843_of_match' is always compiled in. Hence the helper
macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/magnetometer/hmc5843.c
b/drivers/staging/iio/magnetometer/hmc5843.c
index bdb01887829635c5489f45afbd391a07de086288..41005b1fbe864b086676699a564bbd7a8696d95a 100644
(file)
--- a/
drivers/staging/iio/magnetometer/hmc5843.c
+++ b/
drivers/staging/iio/magnetometer/hmc5843.c
@@
-634,7
+634,7
@@
static struct i2c_driver hmc5843_driver = {
.driver = {
.name = "hmc5843",
.pm = HMC5843_PM_OPS,
- .of_match_table =
of_match_ptr(hmc5843_of_match)
,
+ .of_match_table =
hmc5843_of_match
,
},
.id_table = hmc5843_id,
.probe = hmc5843_probe,