All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] pm: Introduce __pm to mark power management code
@ 2013-05-09 17:09 ` Guenter Roeck
  0 siblings, 0 replies; 26+ messages in thread
From: Guenter Roeck @ 2013-05-09 17:09 UTC (permalink / raw)
  To: linux-pm
  Cc: linux-kernel, lm-sensors, Jean Delvare, Len Brown, Pavel Machek,
	Jingoo Han, Guenter Roeck

The following patch series introduces a marker for power management functions
and data. This this marker, #ifdef CONFIG_PM and #ifdef CONFIG_PM_SLEEP
can be removed from most of the code. This ensures that the conditional code
still compiles but is not included in the object file.

As a side effect, drivers declaring struct dev_pm_ops unconditionally
get a bit smaller if CONFIG_PM_SLEEP is not configured.

The first patch in the series introduces the marker, the following
two patches introduce the marker in two drivers to demonstrate its use.

The patch series depends on the "PM: Add pm_ops_ptr() macro" patch
submitted by Jingoo Han.

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [PATCH 0/3] pm: Introduce __pm to mark power management code
  2013-05-09 17:09 ` [lm-sensors] " Guenter Roeck
@ 2013-05-09 17:09 ` Guenter Roeck
  -1 siblings, 0 replies; 26+ messages in thread
From: Guenter Roeck @ 2013-05-09 17:09 UTC (permalink / raw)
  To: linux-pm
  Cc: linux-kernel, lm-sensors, Jean Delvare, Len Brown, Pavel Machek,
	Jingoo Han, Guenter Roeck

The following patch series introduces a marker for power management functions
and data. This this marker, #ifdef CONFIG_PM and #ifdef CONFIG_PM_SLEEP
can be removed from most of the code. This ensures that the conditional code
still compiles but is not included in the object file.

As a side effect, drivers declaring struct dev_pm_ops unconditionally
get a bit smaller if CONFIG_PM_SLEEP is not configured.

The first patch in the series introduces the marker, the following
two patches introduce the marker in two drivers to demonstrate its use.

The patch series depends on the "PM: Add pm_ops_ptr() macro" patch
submitted by Jingoo Han.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2013-05-10 10:54 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 17:09 [PATCH 0/3] pm: Introduce __pm to mark power management code Guenter Roeck
2013-05-09 17:09 ` [lm-sensors] " Guenter Roeck
2013-05-09 17:38 ` Alan Stern
2013-05-09 17:38   ` Alan Stern
2013-05-09 17:38   ` [lm-sensors] " Alan Stern
2013-05-09 17:48   ` Guenter Roeck
2013-05-09 17:48     ` [lm-sensors] " Guenter Roeck
2013-05-09 18:31     ` Alan Stern
2013-05-09 18:31       ` Alan Stern
2013-05-09 18:31       ` [lm-sensors] " Alan Stern
2013-05-09 19:12       ` Rafael J. Wysocki
2013-05-09 19:12         ` [lm-sensors] " Rafael J. Wysocki
2013-05-09 19:15 ` Rafael J. Wysocki
2013-05-09 19:15   ` [lm-sensors] " Rafael J. Wysocki
2013-05-09 20:30   ` Guenter Roeck
2013-05-09 20:30     ` [lm-sensors] " Guenter Roeck
  -- strict thread matches above, loose matches on Subject: below --
2013-05-09 17:09 Guenter Roeck
2013-05-09 17:09 ` [lm-sensors] " Guenter Roeck
2013-05-09 17:09 ` [PATCH 1/3] pm: Introduce __pm to mark power management functions and data Guenter Roeck
2013-05-09 17:09   ` [lm-sensors] " Guenter Roeck
2013-05-09 17:09 ` [PATCH 2/3] hwmon: (tmp102) Convert to use __pm instead of #ifdef CONFIG_PM Guenter Roeck
2013-05-09 17:09   ` [lm-sensors] " Guenter Roeck
2013-05-09 17:09 ` [PATCH 3/3] hwmon: (max6639) Convert to use __pm instead of #ifdef CONFIG_PM_SLEEP Guenter Roeck
2013-05-09 17:09   ` [lm-sensors] " Guenter Roeck
2013-05-10 10:54 ` [PATCH 0/3] pm: Introduce __pm to mark power management code Pavel Machek
2013-05-10 10:54   ` [lm-sensors] " Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.