From: Sachin Kamat <sachin.kamat@linaro.org>
Date: Wed, 22 May 2013 11:36:29 +0000 (+0530)
Subject: serial: vt8500: Remove redundant use of of_match_ptr macro
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=86c346de5db0b82087d88ec04d0a404d293c420d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git

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>
---

diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c
index 1a8bc2275ea4..48af43de3467 100644
--- a/drivers/tty/serial/vt8500_serial.c
+++ b/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,
 	},
 };