[PATCH 00/12] ACPI: constify patches and other minor fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rafael, Len,

this series constifies a few variables in the ACPI code that are read
only and therefore can be const. The main goal is to constify all users
of struct acpi_device_id, but while digging through the code I found a
few other places that could be improved too (constifying other variables
in patches 1, 2, 4 and 9 as adding __init annotations where sensible in
patch 7 or dropping bogus annotations in patch 3).

This series only handles the ACPI related bits for the constification of
struct acpi_device_id but all other users have been changed too (you've
been Cc'ed on the corresponding patches).

Please apply!


Mathias Krause (12):
  ACPI / AC: constify DMI system id table
  ACPI / LPSS: constify device descriptors
  ACPI / processor: remove bogus __refdata annotation
  ACPI / PNP: constify device IDs
  ACPI / battery: constify the offset tables
  ACPI / battery: minor tweaks to acpi_battery_units()
  ACPI / battery: mark DMI table as __initconst
  ACPI / HED: constify ACPI device ids
  ACPI / processor: constify DMI system id table
  ACPI / scan: constify ACPI device ids
  ACPI / video: constify ACPI and DMI id tables
  ACPI: Constify ACPI device IDs in documentation

 Documentation/acpi/enumeration.txt |    6 +++---
 drivers/acpi/ac.c                  |    2 +-
 drivers/acpi/acpi_lpss.c           |   22 +++++++++++-----------
 drivers/acpi/acpi_pnp.c            |    2 +-
 drivers/acpi/acpi_processor.c      |    2 +-
 drivers/acpi/battery.c             |   30 +++++++++++++++---------------
 drivers/acpi/hed.c                 |    2 +-
 drivers/acpi/processor_idle.c      |    2 +-
 drivers/acpi/scan.c                |    2 +-
 drivers/acpi/video_detect.c        |    4 ++--
 10 files changed, 37 insertions(+), 37 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux