net: wl12xx: care for optional operations
authorFelipe Balbi <balbi@ti.com>
Fri, 13 May 2011 21:26:21 +0000 (00:26 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 07:15:46 +0000 (10:15 +0300)
commit77d7d7a36d270fee4591c1c99c83c2da1f399d44
treedc22ab0ad70dd233c9c2ead87ece97b36868312a
parent6bdaf79623e285242cb977840358dc7d14438475
net: wl12xx: care for optional operations

->init and ->reset are optional - at least
sdio.c doesn't implement them - so allow those
pointers to be NULL.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/io.c