Bläddra i källkod

mfd: ti_am335x_tscadc: Remove redundant of_match_ptr

The data structure of_match_ptr() protects 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>
Sachin Kamat 12 år sedan
förälder
incheckning
131221bc5e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      drivers/mfd/ti_am335x_tscadc.c

+ 1 - 1
drivers/mfd/ti_am335x_tscadc.c

@@ -328,7 +328,7 @@ static struct platform_driver ti_tscadc_driver = {
 		.name   = "ti_am3359-tscadc",
 		.owner	= THIS_MODULE,
 		.pm	= TSCADC_PM_OPS,
-		.of_match_table = of_match_ptr(ti_tscadc_dt_ids),
+		.of_match_table = ti_tscadc_dt_ids,
 	},
 	.probe	= ti_tscadc_probe,
 	.remove	= ti_tscadc_remove,