lis3: fix typo
authorDaniel Mack <[email protected]>
Tue, 22 Sep 2009 00:04:42 +0000 (17:04 -0700)
committerLinus Torvalds <[email protected]>
Tue, 22 Sep 2009 14:17:48 +0000 (07:17 -0700)
Bit 0x80 in CTRL_REG3 is an ACTIVE_LOW rather than an ACTIVE_HIGH
function, I got that wrong during my last change.

Signed-off-by: Daniel Mack <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Cc: Eric Piel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/lis3lv02d.h

index ad651f4e45acb8ce36dedff46e9b55784fa4d963..113778b5df36c22fb1eec8f20fb37f63fda83064 100644 (file)
@@ -32,7 +32,7 @@ struct lis3lv02d_platform_data {
 #define LIS3_IRQ2_DATA_READY   (4 << 3)
 #define LIS3_IRQ2_CLICK                (7 << 3)
 #define LIS3_IRQ_OPEN_DRAIN    (1 << 6)
-#define LIS3_IRQ_ACTIVE_HIGH   (1 << 7)
+#define LIS3_IRQ_ACTIVE_LOW    (1 << 7)
        unsigned char irq_cfg;
 };