staging:iio:addac:adt7316 make interrupt mask sane.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 12 Aug 2011 15:55:32 +0000 (16:55 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:28:43 +0000 (13:28 -0700)
Coccinelle found this one. I'm not certain what
the intent is, but this fix makes no functional changes.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/addac/adt7316.c

index 637316f79f78a041c5e58c65d4cbffaac4dce649..c828b6f0a2815987f0f487e29235b24baefafb0a 100644 (file)
@@ -203,7 +203,7 @@ struct adt7316_chip_info {
 #define ADT7316_TEMP_INT_MASK          0x1F
 #define ADT7516_AIN_INT_MASK           0xE0
 #define ADT7316_TEMP_AIN_INT_MASK      \
-       (ADT7316_TEMP_INT_MASK | ADT7316_TEMP_INT_MASK)
+       (ADT7316_TEMP_INT_MASK)
 
 /*
  * struct adt7316_chip_info - chip specifc information