mtd: gpio: Use of_match_ptr() macro
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 14 Mar 2013 10:07:03 +0000 (15:37 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 5 Apr 2013 12:20:09 +0000 (13:20 +0100)
commitb57d43ff64b036f43940e25d153518bee6cbc7ec
tree9c1f880942457586863cbcde7b9c3d23b52ffa09
parentb60c7243863fd2a5059d2c3137ed31b797cd7848
mtd: gpio: 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: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpio.c