Bluetooth: btmrvl: remove cal-data byte swapping and redundant mem copy
authorBing Zhao <bzhao@marvell.com>
Fri, 1 Nov 2013 22:28:25 +0000 (15:28 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 4 Dec 2013 13:09:03 +0000 (11:09 -0200)
commit8a4934f1d62b8be7a00cdb4e65124f4d02d412f3
tree7430963bf508518e0ce48caba946292d81ed6042
parent433a9389a11778f1bc342789abccac9ce46eee82
Bluetooth: btmrvl: remove cal-data byte swapping and redundant mem copy

The device tree property can define the cal-data in proper order.
There is no need to swap the bytes in driver.
Also remove the redundant cal-data memory copy after removing the
byte swapping.

Cc: Mike Frysinger <vapier@chromium.org>
Cc: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Hyuckjoo Lee <hyuckjoo.lee@samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_drv.h
drivers/bluetooth/btmrvl_main.c