Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5e2e46e8
Commit
5e2e46e8
authored
Feb 20, 2014
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'acpi-pm' into acpi-fan
parents
6d0abeca
fae9e2a4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
0 deletions
+13
-0
drivers/acpi/ac.c
drivers/acpi/ac.c
+2
-0
drivers/acpi/battery.c
drivers/acpi/battery.c
+2
-0
drivers/acpi/button.c
drivers/acpi/button.c
+2
-0
drivers/acpi/fan.c
drivers/acpi/fan.c
+3
-0
drivers/acpi/sbs.c
drivers/acpi/sbs.c
+2
-0
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+2
-0
No files found.
drivers/acpi/ac.c
View file @
5e2e46e8
...
...
@@ -243,6 +243,8 @@ static int acpi_ac_resume(struct device *dev)
kobject_uevent
(
&
ac
->
charger
.
dev
->
kobj
,
KOBJ_CHANGE
);
return
0
;
}
#else
#define acpi_ac_resume NULL
#endif
static
SIMPLE_DEV_PM_OPS
(
acpi_ac_pm_ops
,
NULL
,
acpi_ac_resume
);
...
...
drivers/acpi/battery.c
View file @
5e2e46e8
...
...
@@ -841,6 +841,8 @@ static int acpi_battery_resume(struct device *dev)
acpi_battery_update
(
battery
);
return
0
;
}
#else
#define acpi_battery_resume NULL
#endif
static
SIMPLE_DEV_PM_OPS
(
acpi_battery_pm
,
NULL
,
acpi_battery_resume
);
...
...
drivers/acpi/button.c
View file @
5e2e46e8
...
...
@@ -80,6 +80,8 @@ static void acpi_button_notify(struct acpi_device *device, u32 event);
#ifdef CONFIG_PM_SLEEP
static
int
acpi_button_resume
(
struct
device
*
dev
);
#else
#define acpi_button_resume NULL
#endif
static
SIMPLE_DEV_PM_OPS
(
acpi_button_pm
,
NULL
,
acpi_button_resume
);
...
...
drivers/acpi/fan.c
View file @
5e2e46e8
...
...
@@ -55,6 +55,9 @@ MODULE_DEVICE_TABLE(acpi, fan_device_ids);
#ifdef CONFIG_PM_SLEEP
static
int
acpi_fan_suspend
(
struct
device
*
dev
);
static
int
acpi_fan_resume
(
struct
device
*
dev
);
#else
#define acpi_fan_suspend NULL
#define acpi_fan_resume NULL
#endif
static
SIMPLE_DEV_PM_OPS
(
acpi_fan_pm
,
acpi_fan_suspend
,
acpi_fan_resume
);
...
...
drivers/acpi/sbs.c
View file @
5e2e46e8
...
...
@@ -668,6 +668,8 @@ static int acpi_sbs_resume(struct device *dev)
acpi_sbs_callback
(
sbs
);
return
0
;
}
#else
#define acpi_sbs_resume NULL
#endif
static
SIMPLE_DEV_PM_OPS
(
acpi_sbs_pm
,
NULL
,
acpi_sbs_resume
);
...
...
drivers/acpi/thermal.c
View file @
5e2e46e8
...
...
@@ -102,6 +102,8 @@ MODULE_DEVICE_TABLE(acpi, thermal_device_ids);
#ifdef CONFIG_PM_SLEEP
static
int
acpi_thermal_resume
(
struct
device
*
dev
);
#else
#define acpi_thermal_resume NULL
#endif
static
SIMPLE_DEV_PM_OPS
(
acpi_thermal_pm
,
NULL
,
acpi_thermal_resume
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment