summaryrefslogtreecommitdiff
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-22 11:36:29 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-03 17:21:33 (GMT)
commit86c346de5db0b82087d88ec04d0a404d293c420d (patch)
tree17e25a41785030626f3f5c5ae42651f94b627741 /drivers/tty/serial
parent8095e4e81b4bc38eef7e0be99f9ecc744eaa1683 (diff)
downloadlinux-86c346de5db0b82087d88ec04d0a404d293c420d.tar.xz
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>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/vt8500_serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c
index 1a8bc22..48af43d 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,
},
};