Browse Source

serial: vt8500: Remove redundant use of of_match_ptr macro

'wmt_dt_ids' is always compiled in. Hence of_match_ptr is not
necessary.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sachin Kamat 12 years ago
parent
commit
86c346de5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/serial/vt8500_serial.c

+ 1 - 1
drivers/tty/serial/vt8500_serial.c

@@ -648,7 +648,7 @@ static struct platform_driver vt8500_platform_driver = {
 	.driver = {
 		.name = "vt8500_serial",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(wmt_dt_ids),
+		.of_match_table = wmt_dt_ids,
 	},
 };