projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f54e1e
)
mfd: palmas: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 15 Oct 2013 03:48:51 +0000
(09:18 +0530)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 23 Oct 2013 15:22:01 +0000
(16:22 +0100)
'of_palmas_match_tbl' is always compiled in. Hence of_match_ptr() is
not needed.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/palmas.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/palmas.c
b/drivers/mfd/palmas.c
index ae9147873b4af9cdeeeba0351d12723b064e6295..d280d789e55a5cc0a60896eee95ad8de3ee1dac8 100644
(file)
--- a/
drivers/mfd/palmas.c
+++ b/
drivers/mfd/palmas.c
@@
-403,7
+403,7
@@
static int palmas_i2c_probe(struct i2c_client *i2c,
palmas->dev = &i2c->dev;
palmas->irq = i2c->irq;
- match = of_match_device(of_
match_ptr(of_palmas_match_tbl)
, &i2c->dev);
+ match = of_match_device(of_
palmas_match_tbl
, &i2c->dev);
if (!match)
return -ENODATA;