spi: spi-sh-msiof: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 10:01:51 +0000 (15:31 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 13:27:14 +0000 (14:27 +0100)
commit691ee4edd410dd6f19227642e01a93fb88620eff
tree26fc10b2e2573949f9c3fdc6c67bd9675712432d
parent9547acce669ec7b5613eb9be0838bff47258ccbf
spi: spi-sh-msiof: 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: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-sh-msiof.c