Skip to contentSkip to conversation

mx5:Use IMX_GPIO_NR macro

PATCH Superseded Ashok 2 participants 2 messages Aug 27, 2012

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Ashok

author
#0 lore raw

PATCH v2 1/1 mx5:Use IMX_GPIO_NR macro

#1 lore raw

PATCH v2 1/1 mx5:Use IMX_GPIO_NR macro

Quoted 7 lines · Ashok

From 14ef1037b2b535c30c62c8bf1483f9f66960e4e8 Mon Sep 17 00:00:00 2001
From: Ashok Kumar Reddy <[email protected]>
Date: Mon, 27 Aug 2012 22:29:20 +0530
Subject: [PATCH v2] mx5:Use IMX_GPIO_NR macro

---

Hi Ashok,

Quoted 10 lines

Changes from v1:
-Remove checkpatch errors

 board/freescale/mx51evk/mx51evk.c   |   12 ++++++------
 board/freescale/mx53ard/mx53ard.c   |    8 ++++----
 board/freescale/mx53evk/mx53evk.c   |    8 ++++----
 board/freescale/mx53loco/mx53loco.c |    8 ++++----
 board/freescale/mx53smd/mx53smd.c   |    4 ++--
 5 files changed, 20 insertions(+), 20 deletions(-)

I still get a couple of errors from checkpatch. Can you fix them ?

ERROR: trailing whitespace
#86: FILE: board/freescale/mx53ard/mx53ard.c:99:
+^I^Iret = !gpio_get_value(IMX_GPIO_NR(1, 4)); $

ERROR: trailing whitespace
#106: FILE: board/freescale/mx53evk/mx53evk.c:222:
+^I^Iret = !gpio_get_value(IMX_GPIO_NR(3, 13)); $

total: 2 errors, 0 warnings, 95 lines checked

Regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================