All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 00/12] ACPI: add module_acpi_driver() and convert drivers to it
@ 2012-09-07  7:31 Mika Westerberg
  2012-09-07  7:31 ` [PATCH RESEND 01/12] ACPI: introduce module_acpi_driver() helper macro Mika Westerberg
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Mika Westerberg @ 2012-09-07  7:31 UTC (permalink / raw)
  To: lenb
  Cc: rui.zhang, khali, ben-linux, w.sang, dmitry.torokhov, eric.piel,
	mjg, ike.pan, herton, linux-kernel, linux-acpi, Mika Westerberg

[Resending the series with acks]

This is similar than what is done for other busses before (PCI, I2C, SPI,
platform). It reduces a lot of unnecessary boilerplate code from modules.

We also remove following redundant check on few drivers:

	if (acpi_disabled)
		return -ENODEV;

as this same check is already done at the beginning of
acpi_bus_register_driver().

I think these should all go via ACPI tree because they all depend on the
first patch which touches the ACPI subsystem.

Mika Westerberg (12):
  ACPI: introduce module_acpi_driver() helper macro
  ACPI/button: convert to module_acpi_driver()
  ACPI/fan: convert to module_acpi_driver()
  ACPI/hed: convert to module_acpi_driver()
  ACPI/sbshc: convert to module_acpi_driver()
  i2c-scmi: convert to module_acpi_driver()
  Input: atlas_btns - convert to module_acpi_driver()
  hp_accel: convert to module_acpi_driver()
  ideapad: convert to module_acpi_driver()
  topstar-laptop: convert to module_acpi_driver()
  toshiba_bluetooth: convert to module_acpi_driver()
  xo15-ebook: convert to module_acpi_driver()

 drivers/acpi/button.c                    |   13 +------------
 drivers/acpi/fan.c                       |   22 +---------------------
 drivers/acpi/hed.c                       |   20 +-------------------
 drivers/acpi/sbshc.c                     |   18 +-----------------
 drivers/i2c/busses/i2c-scmi.c            |   14 +-------------
 drivers/input/misc/atlas_btns.c          |   17 +----------------
 drivers/platform/x86/hp_accel.c          |   25 +------------------------
 drivers/platform/x86/ideapad-laptop.c    |   14 +-------------
 drivers/platform/x86/topstar-laptop.c    |   22 +---------------------
 drivers/platform/x86/toshiba_bluetooth.c |   22 +---------------------
 drivers/platform/x86/xo15-ebook.c        |   14 +-------------
 include/acpi/acpi_bus.h                  |   13 +++++++++++++
 12 files changed, 24 insertions(+), 190 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2012-09-21 17:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-07  7:31 [PATCH RESEND 00/12] ACPI: add module_acpi_driver() and convert drivers to it Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 01/12] ACPI: introduce module_acpi_driver() helper macro Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 02/12] ACPI/button: convert to module_acpi_driver() Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 03/12] ACPI/fan: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 04/12] ACPI/hed: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 05/12] ACPI/sbshc: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 06/12] i2c-scmi: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 07/12] Input: atlas_btns - " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 08/12] hp_accel: " Mika Westerberg
2012-09-07  7:31   ` Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 09/12] ideapad: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 10/12] topstar-laptop: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 11/12] toshiba_bluetooth: " Mika Westerberg
2012-09-07  7:31 ` [PATCH RESEND 12/12] xo15-ebook: " Mika Westerberg
2012-09-21 17:44 ` [PATCH RESEND 00/12] ACPI: add module_acpi_driver() and convert drivers to it Len Brown

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.