All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/15] Random collection of x86 platform driver cleanups
@ 2014-07-16 17:43 Mathias Krause
  2014-07-16 17:43 ` [PATCH 01/15] MAINTAINERS: Update git URL for x86 platform drivers Mathias Krause
                   ` (14 more replies)
  0 siblings, 15 replies; 21+ messages in thread
From: Mathias Krause @ 2014-07-16 17:43 UTC (permalink / raw)
  To: Matthew Garrett; +Cc: platform-driver-x86, Mathias Krause

Hi Matthew,

this series is a rather random collection of cleanups for the x86
platform drivers. However, my main intention was to mark as much DMI
tables as possible as __initconst so their memory can be released
after initialization is done. This is especially useful for those
tables as they tend to be quite large (see, e.g., patch 2, which moves
~10 kB to the .init sections). Not all of them can be marked this way,
though, as some of the tables are referenced from non-init code, too.

Beside that DMI table markings a few cleanups slipped in I found while
hunting for the former, e.g. constification of r/o data structures or
declaring variables static that are only used within one compilation
unit.

Most important, patch 1 updates the git URL of the MAINTAINERS file,
so others know where to pull from, as well.

Please apply!


Mathias Krause (15):
  MAINTAINERS: Update git URL for x86 platform drivers
  acer-wmi: Mark init data and code as such
  acer-wmi: Mark acer_wmi_keymap[] as __initconst
  acer-wmi: Hide acer_{suspend,resume} for !CONFIG_PM_SLEEP
  alienware-wmi: Mark DMI table as __initconst
  asus-nb-wmi: Constify asus_quirks[] DMI table
  dell-laptop: Mark dell_quirks[] DMI table as __initconst
  eeepc-wmi: Constify asus_quirks[] DMI table
  fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst
  fujitsu-tablet: Mark DMI callbacks as __init code
  hp-wmi: Add missing __init annotations to initialization code
  hp_accel: Constify ACPI and DMI tables
  ideapad-laptop: Constify DMI table and other r/o variables
  intel_ips: Make ips_mcp_limits variables static
  thinkpad_acpi: Mark volume_alsa_control_{vol,mute} as __initdata

 MAINTAINERS                           |    2 +-
 drivers/platform/x86/acer-wmi.c       |   48 ++++++++++++++++++---------------
 drivers/platform/x86/alienware-wmi.c  |    4 +--
 drivers/platform/x86/asus-nb-wmi.c    |    2 +-
 drivers/platform/x86/dell-laptop.c    |    6 ++---
 drivers/platform/x86/eeepc-wmi.c      |    2 +-
 drivers/platform/x86/fujitsu-laptop.c |   10 +++----
 drivers/platform/x86/fujitsu-tablet.c |    6 ++---
 drivers/platform/x86/hp-wmi.c         |    6 ++---
 drivers/platform/x86/hp_accel.c       |    4 +--
 drivers/platform/x86/ideapad-laptop.c |    6 ++---
 drivers/platform/x86/intel_ips.c      |    6 ++---
 drivers/platform/x86/thinkpad_acpi.c  |    4 +--
 13 files changed, 56 insertions(+), 50 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2014-07-29  3:27 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 17:43 [PATCH 00/15] Random collection of x86 platform driver cleanups Mathias Krause
2014-07-16 17:43 ` [PATCH 01/15] MAINTAINERS: Update git URL for x86 platform drivers Mathias Krause
2014-07-16 17:43 ` [PATCH 02/15] acer-wmi: Mark init data and code as such Mathias Krause
2014-07-29  3:18   ` joeyli
2014-07-16 17:43 ` [PATCH 03/15] acer-wmi: Mark acer_wmi_keymap[] as __initconst Mathias Krause
2014-07-29  3:21   ` joeyli
2014-07-16 17:43 ` [PATCH 04/15] acer-wmi: Hide acer_{suspend,resume} for !CONFIG_PM_SLEEP Mathias Krause
2014-07-29  3:21   ` joeyli
2014-07-16 17:43 ` [PATCH 05/15] alienware-wmi: Mark DMI table as __initconst Mathias Krause
2014-07-16 17:43 ` [PATCH 06/15] asus-nb-wmi: Constify asus_quirks[] DMI table Mathias Krause
2014-07-16 17:43 ` [PATCH 07/15] dell-laptop: Mark dell_quirks[] DMI table as __initconst Mathias Krause
2014-07-16 17:43 ` [PATCH 08/15] eeepc-wmi: Constify asus_quirks[] DMI table Mathias Krause
2014-07-16 17:43 ` [PATCH 09/15] fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst Mathias Krause
2014-07-16 22:59   ` Jonathan Woithe
2014-07-16 17:43 ` [PATCH 10/15] fujitsu-tablet: Mark DMI callbacks as __init code Mathias Krause
2014-07-16 17:43 ` [PATCH 11/15] hp-wmi: Add missing __init annotations to initialization code Mathias Krause
2014-07-16 17:43 ` [PATCH 12/15] hp_accel: Constify ACPI and DMI tables Mathias Krause
2014-07-16 17:43 ` [PATCH 13/15] ideapad-laptop: Constify DMI table and other r/o variables Mathias Krause
2014-07-16 17:43 ` [PATCH 14/15] intel_ips: Make ips_mcp_limits variables static Mathias Krause
2014-07-16 17:43 ` [PATCH 15/15] thinkpad_acpi: Mark volume_alsa_control_{vol,mute} as __initdata Mathias Krause
2014-07-16 19:03   ` Henrique de Moraes Holschuh

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.