drivers/net: Use of_match_ptr() macro in smc91x.c
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 19 Dec 2012 01:17:09 +0000 (01:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 20:50:07 +0000 (12:50 -0800)
commit89ce376c6bdc936515147ff14f8a62cead965683
tree9b40324371b3f9ea6cc606603c51ee74641b557a
parentbd7790286b4acd52ecbd8123b1ce052cf1b931b1
drivers/net: Use of_match_ptr() macro in smc91x.c

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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc91x.c