]> git.baikalelectronics.ru Git - kernel.git/commit
mrf24j40: separate h/w init and add checkings
authorVarka Bhadram <varkabhadram@gmail.com>
Mon, 16 Jun 2014 03:42:31 +0000 (09:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2014 22:30:54 +0000 (15:30 -0700)
commit74055a5f70009eb214d57ebdf91619a3ad0a81ea
tree75b1b5de0cb0319c9b2b5d5eb0286c040e185195
parent081ef54181a1ff0d2c7e189052277797ff8dd0dd
mrf24j40: separate h/w init and add checkings

separate the mrf24j40 hardware initialisation from probe()
and adds the sanity checkings.

These checkings are required if somebody hasn't a right spi configuration
the probe function should fail. So we have to return from there.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/mrf24j40.c