ACPI: make device_attribute const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 21 Aug 2017 11:43:07 +0000 (17:13 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Aug 2017 01:38:25 +0000 (03:38 +0200)
commit82d2b610586763f21f8f6e1f8c163c1f14b94e1c
tree353f892a75ef9e49fcce7a838025d409d210e20e
parent14ccee78fc82f5512908f4424f541549a5705b89
ACPI: make device_attribute const

Make these const as they are only passed as an argument to the function
device_create_file and device_remove_file and the corresponding
arguments are of type const.
Done using Coccinelle

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c
drivers/acpi/sbs.c