Commit b04fa9f704aa818b87509ff4149bba810ef8bbd8

Authored by Bartlomiej Zolnierkiewicz
Committed by Kukjin Kim
1 parent 8cfc7fdd33

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 <pankaj.dubey@samsung.com>
Cc: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/mach-exynos/pmu.c
... ... @@ -25,7 +25,7 @@
25 25  
26 26 struct exynos_pmu_conf {
27 27 unsigned int offset;
28   - unsigned int val[NUM_SYS_POWERDOWN];
  28 + u8 val[NUM_SYS_POWERDOWN];
29 29 };
30 30  
31 31 struct exynos_pmu_data {