[PATCH 0/2] ACPI / PMIC: make some structures and function argument as const

From: Bhumika Goyal
Date: Fri Nov 03 2017 - 11:04:00 EST


Make some structures and the argument of the function
intel_pmic_install_opregion_handler as const. After this change,
make the structures of type intel_pmic_opregion_data as const.

Bhumika Goyal (2):
ACPI / PMIC: Make some pointers, structure field and function argument
as const
ACPI / PMIC: make intel_pmic_opregion_data structures const

drivers/acpi/pmic/intel_pmic.c | 10 +++++-----
drivers/acpi/pmic/intel_pmic.h | 4 +++-
drivers/acpi/pmic/intel_pmic_bxtwc.c | 2 +-
drivers/acpi/pmic/intel_pmic_chtwc.c | 2 +-
drivers/acpi/pmic/intel_pmic_crc.c | 2 +-
drivers/acpi/pmic/intel_pmic_xpower.c | 2 +-
6 files changed, 12 insertions(+), 10 deletions(-)

--
1.9.1