diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-06-13 15:27:00 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-06-19 02:14:15 +0300 |
commit | 1a147ed75cc94cb2eca3bfa5ca00e069574090fd (patch) | |
tree | 25ab75fa9ed7100bfcc1abc2a3b0929255efb730 /drivers/spi/spi-mxs.c | |
parent | eb3486646187fe2010786e1d092a903343fbcc64 (diff) | |
download | linux-1a147ed75cc94cb2eca3bfa5ca00e069574090fd.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-mxs.c')
0 files changed, 0 insertions, 0 deletions