Re: [PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

2014-11-26 Thread Kukjin Kim
On 11/27/14 02:21, Bartlomiej Zolnierkiewicz wrote:
> Values stored in val[] are never bigger than a byte.
> 
>textdata bss dec hex filename
>77163692   8   114162c98 arch/arm/mach-exynos/pmu.o.before
>54361908   873521cb8 arch/arm/mach-exynos/pmu.o.after
> 
> Cc: Pankaj Dubey 
> Cc: Amit Daniel Kachhap 
> Signed-off-by: Bartlomiej Zolnierkiewicz 
> Acked-by: Kyungmin Park 
> ---
> v2:
> - rebased on top of next-20141126 branch of linux-next kernel tree
>   (it also applies fine to for-next branch of linux-samsung.git)
> 
>  arch/arm/mach-exynos/pmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
> index ccb0120..c15761c 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 {

Applied, thanks.

- Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v2] ARM: EXYNOS: use u8 for val[] in struct exynos_pmu_conf

2014-11-26 Thread Bartlomiej Zolnierkiewicz
Values stored in val[] are never bigger than a byte.

   textdata bss dec hex filename
   77163692   8   114162c98 arch/arm/mach-exynos/pmu.o.before
   54361908   873521cb8 arch/arm/mach-exynos/pmu.o.after

Cc: Pankaj Dubey 
Cc: Amit Daniel Kachhap 
Signed-off-by: Bartlomiej Zolnierkiewicz 
Acked-by: Kyungmin Park 
---
v2:
- rebased on top of next-20141126 branch of linux-next kernel tree
  (it also applies fine to for-next branch of linux-samsung.git)

 arch/arm/mach-exynos/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-exynos/pmu.c b/arch/arm/mach-exynos/pmu.c
index ccb0120..c15761c 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 {
-- 
1.8.2.3


--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html