at86rf230: remove is212 and add driver data
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Jul 2014 22:20:46 +0000 (00:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:29:24 +0000 (21:29 -0700)
commita53d1f7c3d53353f68b2355a19cd5d5c7e4c7b34
treed5899ef6972c2a773e27c6c159eb1fa4b72a6185
parentc8ee0f56c833d70a03f06bf809089423dd190ee8
at86rf230: remove is212 and add driver data

This patch adds a new at86rf2xx_chip_data structure which holds device
specific attributes. Instead of runtime decisions "if (is212())" we set
callbacks/attributes while device detection.

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