serial: Samsung: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 7 Jan 2013 04:20:42 +0000 (09:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 05:57:44 +0000 (21:57 -0800)
commit905f4ba252f933344e43a32ef4524bc8412c2e90
tree136ed585450bf83ec09f218a8e57a067a3b124d8
parent41147bfdc5c0d6acb39d2b3b8a4eb6ffb08e4b42
serial: Samsung: Use of_match_ptr() macro

This eliminates having an #ifdef returning NULL for the case
when OF is disabled.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c