]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/acpi/acpi_lpss.c
ACPI / LPSS: constify attribute_group structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 30 Jun 2017 12:53:50 +0000 (18:23 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Jul 2017 20:15:24 +0000 (22:15 +0200)
commit31945d0eb400f793feff61423db71cb6d866715a
tree1529ad3c0cbeadce2a81d515b6177cc571da21a8
parent7e53626995d44c58ca148bf56e792d1bdd982e0b
ACPI / LPSS: constify attribute_group structures

attribute_groups are not supposed to change at runtime. All functions
working with attribute_groups provided by <linux/sysfs.h> work with const
attribute_group. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_lpss.c