[U-Boot] [PATCH 02/13] board/evb64260/i2c.c: Coding Style cleanup

Heiko Schocher
2011-11-10T06:32:20Z

Hello Wolfgang,

Wolfgang Denk wrote:
> Make checkpatch-clean
>
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Eran Man <eran@nbase.co.il>
> ---
> board/evb64260/i2c.c | 48 ++++++++++++++++++++++--------------------------
> 1 files changed, 22 insertions(+), 26 deletions(-)
>
> diff --git a/board/evb64260/i2c.c b/board/evb64260/i2c.c
> index 88d0dac..573f31f 100644
> --- a/board/evb64260/i2c.c
> +++ b/board/evb64260/i2c.c
> @@ -20,25 +20,22 @@ static void
> i2c_init(int speed, int slaveaddr)
> {
> unsigned int n, m, freq, margin, power;
> - unsigned int actualFreq, actualN=0, actualM=0;
> + unsigned int actualFreq, actualN = 0, actualM = 0;

Hmm.. we don't use Upper and Lower case mixed for variable names.
This should be cleanuped too.

bye,
Heiko