Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc21acc4 authored by Sachin Kamat's avatar Sachin Kamat Committed by Jonathan Cameron
Browse files

iio: adc: twl6030-gpadc: Remove redundant of_match_ptr



of_twl6030_match_tbl is always compiled in. Hence of_match_ptr is
not necessary.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 39631b5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;