can: at91_can: Use of_match_ptr()
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 12 Jun 2013 11:30:39 +0000 (17:00 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 27 Jun 2013 13:15:42 +0000 (15:15 +0200)
commit1f3e4b0cc4deb9d740261273fbbf5ea95c8434d0
tree6f1170d002408309443fc8087cbb5694edc05824
parentbaffd2e8d9a562021f046ed52195aaac91a51412
can: at91_can: Use of_match_ptr()

of_match_ptr() 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: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/at91_can.c