[U-Boot] [PATCH][v2] powerpc: Fix CamelCase checkpatch warnings

York Sun yorksun at freescale.com
Tue Aug 20 19:07:48 CEST 2013


On 08/16/2013 02:22 AM, Prabhakar Kushwaha wrote:
> 85xx, 86xx PowerPC folders have code variables with CamelCase naming conventions.
> because of this code checkpatch script generates "WARNING: Avoid CamelCase".
> 
> Convert variables name to normal naming convention and modify board, driver
> files with updated the new structure. 
> 
> Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>
> ---
>  Chages for v2: Incorporated Thomas's comments
>   - Take care of git bisectable
> 
>  arch/powerpc/cpu/mpc85xx/cpu.c          |   43 +++++-----
>  arch/powerpc/cpu/mpc85xx/fdt.c          |   10 +--
>  arch/powerpc/cpu/mpc85xx/speed.c        |  142 +++++++++++++++----------------
>  arch/powerpc/cpu/mpc86xx/cpu.c          |   16 ++--
>  arch/powerpc/cpu/mpc86xx/speed.c        |   40 ++++-----
>  board/freescale/mpc8540ads/mpc8540ads.c |    2 +-
>  board/freescale/mpc8541cds/mpc8541cds.c |    2 +-
>  board/freescale/mpc8555cds/mpc8555cds.c |    2 +-
>  board/freescale/mpc8560ads/mpc8560ads.c |    2 +-
>  board/freescale/p1_p2_rdb_pc/ddr.c      |    2 +-
>  board/freescale/p1_twr/ddr.c            |    2 +-
>  board/sbc8548/sbc8548.c                 |    4 +-
>  board/socrates/socrates.c               |    2 +-
>  board/xes/xpedite537x/ddr.c             |    2 +-
>  drivers/spi/fsl_espi.c                  |    2 +-
>  include/e500.h                          |   16 ++--
>  include/mpc86xx.h                       |    6 +-
>  17 files changed, 149 insertions(+), 146 deletions(-)

Applied to u-boot-mpc85xx.git.

York





More information about the U-Boot mailing list