Cleanup adm1021 unused defines
PATCH 1/1 Cleanup adm1021 unused defines
Hi Greg,
While working on the adm1021 driver, I found that this driver has a number of unused (and useless) defines we could get rid of.
Please apply,
thanks.
Signed-off-by Jean Delvare <[email protected]>
drivers/i2c/chips/adm1021.c renamed from drivers/i2c/chips/adm1021.c.orig +0 -12
@@ -28,18 +28,6 @@#include <linux/i2c-sensor.h> -/* Registers */ -#define ADM1021_SYSCTL_TEMP 1200 -#define ADM1021_SYSCTL_REMOTE_TEMP 1201 -#define ADM1021_SYSCTL_DIE_CODE 1202 -#define ADM1021_SYSCTL_ALARMS 1203 - -#define ADM1021_ALARM_TEMP_HIGH 0x40 -#define ADM1021_ALARM_TEMP_LOW 0x20 -#define ADM1021_ALARM_RTEMP_HIGH 0x10 -#define ADM1021_ALARM_RTEMP_LOW 0x08 -#define ADM1021_ALARM_RTEMP_NA 0x04 -/* Addresses to scan */ static unsigned short normal_i2c[] = {0x18 ,0x19 ,0x1a ,0x29 ,0x2a ,0x2b ,
Signature · 1 line
Jean Delvare
Greg KH
AppliedPATCH 1/1 Cleanup adm1021 unused defines
Quoted 4 lines · Jean Delvare
Hi Greg,
While working on the adm1021 driver, I found that this driver has a number of unused (and useless) defines we could get rid of.
Applied, thanks.
greg k-h