kernel_optimize_test/drivers/power
Richard A. Smith 7cfbb29466 olpc_battery: Fix endian neutral breakage for s16 values
When the driver was updated to be endian neutral (8e9c7716c)
the signed part of the s16 values was lost.  This is because be16_to_cpu()
returns an unsigned value.  This patch casts the values back to a s16
number prior to the the implicit cast up to an int.

Signed-off-by: Richard A. Smith <richard@laptop.org>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Cc: <stable@kernel.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
2010-09-28 15:14:31 +04:00
..
apm_power.c
bq20z75.c power_supply: Add driver for TI BQ20Z75 gas gauge IC 2010-09-06 11:35:39 +04:00
bq27x00_battery.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
collie_battery.c
da9030_battery.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ds2760_battery.c ds2760_battery: Make charge_now and charge_full writeable 2010-05-19 12:14:42 +04:00
ds2782_battery.c Merge git://git.infradead.org/users/cbou/battery-2.6.35 2010-07-27 09:22:55 -07:00
intel_mid_battery.c intel_mid_battery: Fix battery scaling 2010-08-10 14:35:27 +04:00
isp1704_charger.c power_supply: Add isp1704 charger detection driver 2010-08-19 16:25:20 +04:00
jz4740-battery.c POWER: Add JZ4740 battery driver. 2010-08-05 13:26:20 +01:00
Kconfig ds2760_battery: Fix W1 and W1_SLAVE_DS2760 dependency 2010-09-23 17:33:28 +04:00
Makefile power_supply: Add driver for TI BQ20Z75 gas gauge IC 2010-09-06 11:35:39 +04:00
max8925_power.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
max17040_battery.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
olpc_battery.c olpc_battery: Fix endian neutral breakage for s16 values 2010-09-28 15:14:31 +04:00
pcf50633-charger.c pcf50633-charger: Add missing sysfs_remove_group() 2010-09-22 16:14:49 +04:00
pda_power.c pda_power: Add function callbacks for suspend and resume 2010-04-16 19:14:34 +04:00
pmu_battery.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
power_supply_core.c power_supply: Use attribute groups 2010-05-19 12:14:28 +04:00
power_supply_leds.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
power_supply_sysfs.c power_supply: Fix regression for 'type' property 2010-05-25 13:52:58 +04:00
power_supply.h power_supply: Use attribute groups 2010-05-19 12:14:28 +04:00
s3c_adc_battery.c Add s3c-adc-battery driver 2010-07-23 17:08:41 +04:00
test_power.c power_supply: Add test_power driver 2010-05-18 19:58:56 +04:00
tosa_battery.c tosa_battery: Fix build error due to direct driver_data usage 2010-05-03 00:02:56 +04:00
wm97xx_battery.c [ARM] wm97xx_batt: remove now useless header file 2010-08-05 14:32:15 +08:00
wm831x_backup.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm831x_power.c wm831x_power: Remove duplicate chg mask 2010-09-01 22:35:06 +04:00
wm8350_power.c
z2_battery.c [ARM] pxa/z2: fix missing include in battery driver 2010-06-13 23:55:13 +08:00