projects
/
GitHub
/
moto-9609
/
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:
39631b5
)
iio: adc: twl6030-gpadc: Remove redundant of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Mon, 21 Oct 2013 08:25:00 +0000
(09:25 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Wed, 23 Oct 2013 16:51:24 +0000
(17:51 +0100)
of_twl6030_match_tbl is always compiled in. Hence of_match_ptr is
not necessary.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/twl6030-gpadc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/twl6030-gpadc.c
b/drivers/iio/adc/twl6030-gpadc.c
index 0ea96c058c0880016de8ec9c1b01b9f20c0cd9b0..2edfc7bd4f630fe7ca00954e74e5dd5f661c7458 100644
(file)
--- a/
drivers/iio/adc/twl6030-gpadc.c
+++ b/
drivers/iio/adc/twl6030-gpadc.c
@@
-887,7
+887,7
@@
static int twl6030_gpadc_probe(struct platform_device *pdev)
int irq;
int ret;
- match = of_match_device(of_
match_ptr(of_twl6030_match_tbl)
, dev);
+ match = of_match_device(of_
twl6030_match_tbl
, dev);
if (!match)
return -EINVAL;