cc2520: fix CC2591 handling
authorVarka Bhadram <varkabhadram@gmail.com>
Fri, 29 May 2015 05:26:55 +0000 (10:56 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 31 May 2015 11:40:53 +0000 (13:40 +0200)
commit1a1bc59c5f7657387d1a4b45d63248fed55ab88c
treedfb5bc8302d51d7cd8aaf2f6116f50a32d799611
parentaad1b0b5d3e0e4cdadd695b7188873ba614ca4ef
cc2520: fix CC2591 handling

This patch changes tha way of handling of cc2591-cc2520 combination
by moving amplified variable from platform data to private data.
This will be useful in other sections like tx power support.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Cc: Brad Campbell <bradjc5@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/cc2520.c
include/linux/spi/cc2520.h