spi: spi-oc-tiny: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 10:01:50 +0000 (15:31 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 13:27:09 +0000 (14:27 +0100)
commit9547acce669ec7b5613eb9be0838bff47258ccbf
treeb04bba1ef8a7ab09ec32c7caba3b7899d77928f2
parentff23fa3bb05b296eeab2ccde92c0cdbc05942a1c
spi: spi-oc-tiny: 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>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-oc-tiny.c