diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-09-22 23:53:50 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2008-09-26 01:46:12 +0200 |
commit | 8aef7e8f8de2d900da892085edbf14ea35fe6881 (patch) | |
tree | 07d4d60b16cab0ee710e51b635139899db234db9 /drivers/net/wireless/wl3501_cs.c | |
parent | power_supply: fix dependency of tosa_battery (diff) | |
download | linux-8aef7e8f8de2d900da892085edbf14ea35fe6881.tar.xz linux-8aef7e8f8de2d900da892085edbf14ea35fe6881.zip |
bq27x00_battery: use unaligned access helper
Remove hand-rolled get_unaligned_be16, this points to a possible bug as
bq27x00_read does another endian byteswap which sparse notices:
drivers/power/bq27x00_battery.c:81:14: warning: cast to restricted __be16
Which should probably be checked.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
0 files changed, 0 insertions, 0 deletions