]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit135e425ca36d88cf6b1aef18bdfc1696879f40d1
tree45b0d6fbb1878d9b79d485458a4633c9a808b975
parentd7cb36aab4223c71b50308bd550e11c7b3228793
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