[PATCH] Staging: comedi: comedidev.h: fixed a camel case
Lijo Antony
lijo.kernel at gmail.com
Tue Jan 1 18:41:06 UTC 2013
Fixed a camel case issue.
Signed-off-by: Lijo Antony <lijo.kernel at gmail.com>
---
drivers/staging/comedi/comedidev.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 692e1e6..25e2e63b 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -489,7 +489,7 @@ static inline unsigned comedi_buf_read_n_allocated(struct comedi_async *async)
static inline void *comedi_aux_data(int options[], int n)
{
unsigned long address;
- unsigned long addressLow;
+ unsigned long address_low;
int bit_shift;
if (sizeof(int) >= sizeof(void *))
address = options[COMEDI_DEVCONF_AUX_DATA_LO];
@@ -497,9 +497,9 @@ static inline void *comedi_aux_data(int options[], int n)
address = options[COMEDI_DEVCONF_AUX_DATA_HI];
bit_shift = sizeof(int) * 8;
address <<= bit_shift;
- addressLow = options[COMEDI_DEVCONF_AUX_DATA_LO];
- addressLow &= (1UL << bit_shift) - 1;
- address |= addressLow;
+ address_low = options[COMEDI_DEVCONF_AUX_DATA_LO];
+ address_low &= (1UL << bit_shift) - 1;
+ address |= address_low;
}
if (n >= 1)
address += options[COMEDI_DEVCONF_AUX_DATA0_LENGTH];
--
1.7.10.4
More information about the devel
mailing list