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)
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

Simple merge