From: Bartlomiej Zolnierkiewicz Date: Wed, 26 Nov 2014 17:47:05 +0000 (+0900) Subject: ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b04fa9f704aa818b87509ff4149bba810ef8bbd8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf Values stored in val[] are never bigger than a byte. text data bss dec hex filename 7716 3692 8 11416 2c98 arch/arm/mach-exynos/pmu.o.before 5436 1908 8 7352 1cb8 arch/arm/mach-exynos/pmu.o.after Cc: Pankaj Dubey Cc: Amit Daniel Kachhap Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c index ccb012009cd8..c15761ca2f18 100644 --- a/arch/arm/mach-exynos/pmu.c +++ b/arch/arm/mach-exynos/pmu.c @@ -25,7 +25,7 @@ struct exynos_pmu_conf { unsigned int offset; - unsigned int val[NUM_SYS_POWERDOWN]; + u8 val[NUM_SYS_POWERDOWN]; }; struct exynos_pmu_data {