projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power supply: collie_battery: Convert to use dev_pm_ops
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
collie_battery.c
diff --git
a/drivers/power/collie_battery.c
b/drivers/power/collie_battery.c
index c58d0e31bdef51918934aac528882513962c3fbb..d02ae02a7590c63f3199c676657d66d19c7af64e 100644
(file)
--- a/
drivers/power/collie_battery.c
+++ b/
drivers/power/collie_battery.c
@@
-287,7
+287,7
@@
static struct gpio collie_batt_gpios[] = {
};
#ifdef CONFIG_PM
-static int collie_bat_suspend(struct ucb1x00_dev *dev
, pm_message_t state
)
+static int collie_bat_suspend(struct ucb1x00_dev *dev)
{
/* flush all pending status updates */
flush_work(&bat_work);