提交 b04fa9f7 编写于 作者: B Bartlomiej Zolnierkiewicz 提交者: Kukjin Kim

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: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 8cfc7fdd
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
struct exynos_pmu_conf { struct exynos_pmu_conf {
unsigned int offset; unsigned int offset;
unsigned int val[NUM_SYS_POWERDOWN]; u8 val[NUM_SYS_POWERDOWN];
}; };
struct exynos_pmu_data { struct exynos_pmu_data {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册