ACPI / PNP: constify device IDs
authorMathias Krause <minipli@googlemail.com>
Sat, 2 Jan 2016 10:30:09 +0000 (11:30 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Jan 2016 21:10:30 +0000 (22:10 +0100)
commit38a234b9f08883bbcb475b798e0a3d6b44bd37d7
treeab5f76c6a9ce21a05ec49c00a51a4a7902895dc9
parent168309855a7d1e16db751e9c647119fe2d2dc878
ACPI / PNP: constify device IDs

Instead of re-creating the array on the stack each time
is_cmos_rtc_device() gets called, make the array 'static const'.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pnp.c