[PATCH] Staging: comedi: fix brace coding style issue and whitespace issue in ni_atmio.cThis is a patch to the ni_atmio.c file that fixes up a brace and whitespace warning found by the checkpatch.pl tool.

From: Jake
Date: Sat Oct 08 2011 - 13:38:40 EST


---
drivers/staging/comedi/drivers/ni_atmio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_atmio.c b/drivers/staging/comedi/drivers/ni_atmio.c
index 3330b3d..e6c6c72 100644
--- a/drivers/staging/comedi/drivers/ni_atmio.c
+++ b/drivers/staging/comedi/drivers/ni_atmio.c
@@ -268,8 +268,8 @@ static const struct ni_board_struct ni_boards[] = {
}
};

-static const int ni_irqpin[] =
- { -1, -1, -1, 0, 1, 2, -1, 3, -1, -1, 4, 5, 6, -1, -1, 7 };
+static const int ni_irqpin[] = {
+ -1, -1, -1, 0, 1, 2, -1, 3, -1, -1, 4, 5, 6, -1, -1, 7 };

#define interrupt_pin(a) (ni_irqpin[(a)])

@@ -279,7 +279,7 @@ static const int ni_irqpin[] =

struct ni_private {
struct pnp_dev *isapnp_dev;
- NI_PRIVATE_COMMON};
+NI_PRIVATE_COMMON};
#define devpriv ((struct ni_private *)dev->private)

/* How we access registers */
--
1.7.4.1



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/