mx5:Use IMX_GPIO_NR macro
PATCH v2 1/1 mx5:Use IMX_GPIO_NR macro
PATCH v2 1/1 mx5:Use IMX_GPIO_NR macro
Quoted 7 lines · Ashok
From
14ef1037b2b535c30c62c8bf1483f9f66960e4e8Mon 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:UseIMX_GPIO_NRmacroSigned-off-by Ashok Kumar Reddy <[email protected]>---
Hi Ashok,
Quoted 10 lines
Changes from v1:
-Remove checkpatch errorsboard/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 =====================================================================