at86rf230: rework detect device handling
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Jul 2014 22:20:45 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:29:24 +0000 (21:29 -0700)
commitc8ee0f56c833d70a03f06bf809089423dd190ee8
tree45b0d6fbb1878d9b79d485458a4633c9a808b975
parentf76014f770ff2d4e26c82e4e3a5b0928dee1969b
at86rf230: rework detect device handling

This patch drops the current lowlevel spi calls for the detect device
function instead we handle this via regmap. Also put the detection of
in a seperate function and set all device specific attributes while detection.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/at86rf230.c