Harvey Harrison 8aef7e8f8d 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>
2008-09-26 03:46:12 +04:00
..
2008-08-22 02:33:23 -04:00
2008-07-24 10:47:41 -07:00
2008-08-18 21:40:04 +02:00
2008-08-19 18:47:56 +02:00
2008-08-12 16:07:31 -07:00
2008-07-25 10:53:30 -07:00
2008-08-15 11:50:15 -07:00
2008-08-26 00:19:28 +10:00
2008-08-08 19:18:18 +01:00
2008-07-26 12:00:11 -07:00
2008-08-16 16:35:33 +01:00
2008-08-04 12:51:06 +09:00
2008-08-13 17:33:00 -07:00