ACPI: Constify ACPI device IDs in documentation
authorMathias Krause <minipli@googlemail.com>
Sat, 13 Jun 2015 12:27:00 +0000 (14:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Jun 2015 23:14:15 +0000 (01:14 +0200)
commit1a147ed75cc94cb2eca3bfa5ca00e069574090fd
tree25ab75fa9ed7100bfcc1abc2a3b0929255efb730
parenteb3486646187fe2010786e1d092a903343fbcc64
ACPI: Constify ACPI device IDs in documentation

ACPI device ID arrays normally don't need to be written to as they're
only ever read. The common usage -- embedding pointers to acpi_device_id
arrays in other data structures -- reference them as 'const', e.g. as in
struct acpi_driver / acpi_scan_handler / device_driver. The matchers are
taking const pointers, too. So it's only natural, to propose using const
arrays. Change the documentation accordingly.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/acpi/enumeration.txt