ds2780_battery&z2_battery: Add __devexit_p at necessary places
authorAxel Lin <axel.lin@gmail.com>
Thu, 7 Jul 2011 13:15:13 +0000 (21:15 +0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 19 Aug 2011 17:03:21 +0000 (21:03 +0400)
commit0bea4b866448af09051e357b139f598aa70b8614
tree7f2acc1deb101704d104979da9e18dc87d331a1b
parentbd19c756b1a69ec2c8f5f81624d66a1a0daad7c0
ds2780_battery&z2_battery: Add __devexit_p at necessary places

According to the comments in include/linux/init.h:

"Pointers to __devexit functions must use __devexit_p(function_name), the
wrapper will insert either the function_name or NULL, depending on the config
options."

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Clifton Barnes <cabarnes@indesign-llc.com>
Cc: Peter Edwards <sweetlilmre@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/ds2780_battery.c
drivers/power/z2_battery.c