On Sat, 2012-06-23 at 21:40 -0300, Henrique de Moraes Holschuh wrote:
> On Sun, 17 Jun 2012, Joe Perches wrote:
> > Use a more current logging style.
> >
> > Add #define DEBUG and use pr_debug to enable dynamic debugging.
> > Coalesce formats and align arguments.
> >
> > Signed-off-by: Joe Perche
On Sun, 17 Jun 2012, Joe Perches wrote:
> Use a more current logging style.
>
> Add #define DEBUG and use pr_debug to enable dynamic debugging.
> Coalesce formats and align arguments.
>
> Signed-off-by: Joe Perches
Joe, are there any extra procedures required from the user to get the debug
mess
On Sun, 17 Jun 2012, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> Make the thinkpad_acpi driver define its PM callbacks through
> a struct dev_pm_ops object rather than by using legacy PM hooks
> in struct platform_driver.
>
> Signed-off-by: Rafael J. Wysocki
Acked-by: Henrique de Mo
On Sun, 17 Jun 2012, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> Multiple suspend routines in drivers/platform/x86/thinkpad_acpi.c
> use take pm_message_t arguments that aren't used by any of them.
> Make those routines take no arguments as that's what they should do.
>
> Signed-off-b
From: Rafael J. Wysocki
Make the sonypi driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct platform_driver.
Signed-off-by: Rafael J. Wysocki
---
Hi,
If there are no objections, I'd like to push this patch for 3.6 through
the linux-
From: Rafael J. Wysocki
Make the hp_accel driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/platform/x86/hp_accel.c | 15 ---
1 file changed, 8 insertions(
From: Rafael J. Wysocki
Modify acpi_bus_type so that it executes PM callbacks provided
by drivers through their struct dev_pm_ops objects, if present,
while still allowing the legacy ACPI PM callbacks to take precedence.
This will make it possible to convert ACPI drivers one by one to
handling PM
From: Rafael J. Wysocki
Make the toshiba_bluetooth driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/platform/x86/toshiba_bluetooth.c | 10 ++
1 file changed,
From: Rafael J. Wysocki
Make the ACPI power resource driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/power.c | 12
1 file changed, 8 insertions(+),
From: Rafael J. Wysocki
Make the panasonic-laptop driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/platform/x86/panasonic-laptop.c | 16 +++-
1 file chang
From: Rafael J. Wysocki
Make the sony-laptop driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/platform/x86/sony-laptop.c | 20
1 file changed, 12
From: Rafael J. Wysocki
Make the ACPI AC adapter driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/ac.c | 17 -
1 file changed, 12 insertions(+),
From: Rafael J. Wysocki
Make the ACPI battery driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/battery.c | 15 +++
1 file changed, 11 insertions(+),
From: Rafael J. Wysocki
Make the ACPI button driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/button.c |9 ++---
1 file changed, 6 insertions(+), 3 deletio
From: Rafael J. Wysocki
Make the toshiba_acpi driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/platform/x86/toshiba_acpi.c | 14 --
1 file changed, 8 inse
From: Rafael J. Wysocki
Make the ACPI thermal driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/thermal.c | 17 ++---
1 file changed, 10 insertions(+)
From: Rafael J. Wysocki
Make the ACPI fan driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/fan.c | 21 +++--
1 file changed, 11 insertions(+), 10
From: Rafael J. Wysocki
Make the acpi_bus_type bus type define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct bus_type.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/scan.c |9 +
1 file changed, 5 insertions(+), 4 deletions(-)
From: Rafael J. Wysocki
None of the drivers implementing the ACPI device suspend callback
uses the pm_message_t argument of it, so this argument may be dropped
entirely from that callback. This will simplify switching the ACPI
bus type to PM handling based on struct dev_pm_ops.
Signed-off-by: R
From: Rafael J. Wysocki
Make the ACPI power meter driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/hwmon/acpi_power_meter.c | 13 +
1 file changed, 9 inse
From: Rafael J. Wysocki
Since all ACPI drivers in the tree should have been switched
to power management handling based on struct dev_pm_ops,
modify the ACPI bus type driver so that is doesn't execute
legacy driver power management callbacks from the functions
pointed to by the members of the acp
From: Rafael J. Wysocki
Make the xo15-ebook driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/platform/x86/xo15-ebook.c |8 +---
1 file changed, 5 insertions(+),
From: Rafael J. Wysocki
Since the legacy ACPI driver PM callbacks included into
struct acpi_device_ops are not used any more, drop them.
Signed-off-by: Rafael J. Wysocki
---
include/acpi/acpi_bus.h |4
1 file changed, 4 deletions(-)
Index: linux/include/acpi/acpi_bus.h
==
From: Rafael J. Wysocki
Since the ACPI bus type's PM callbacks only execute the driver ones
without doing anything else, they can be dropped, because the driver
callbacks will be executed by the PM core directly if bus type
(or other subsystem) callbacks are not present.
Signed-off-by: Rafael J.
From: Rafael J. Wysocki
Make the ACPI Smart Battery System driver define its PM callbacks
through a struct dev_pm_ops object rather than by using legacy PM
hooks in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/sbs.c | 10 ++
1 file changed, 6 insertions(+
From: Rafael J. Wysocki
Make the ACPI processor driver define its PM callbacks through
a struct dev_pm_ops object rather than by using legacy PM hooks
in struct acpi_device_ops.
Signed-off-by: Rafael J. Wysocki
---
drivers/acpi/processor_driver.c |6 --
drivers/acpi/processor_idle.c
Hi all,
The following patchset converts the ACPI bus type and all of the ACPI drivers
to the power management handling based on struct dev_pm_ops. It does that in
the following way:
(1) The (unused) pm_message_t argument is dropped from the ACPI driver suspend
callback throughout the tree (p
27 matches
Mail list logo