hwmon: (w83781d) Misc cleanups
* Drop unused defines * Drop unused driver ID * Remove trailing whitespace Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
This commit is contained in:
parent
05663368d2
commit
293c099716
|
@ -151,10 +151,6 @@ static const u8 BIT_SCFG2[] = { 0x10, 0x20, 0x40 };
|
|||
|
||||
#define W83781D_DEFAULT_BETA 3435
|
||||
|
||||
/* RT Table registers */
|
||||
#define W83781D_REG_RT_IDX 0x50
|
||||
#define W83781D_REG_RT_VAL 0x51
|
||||
|
||||
/* Conversions */
|
||||
#define IN_TO_REG(val) SENSORS_LIMIT(((val) + 8) / 16, 0, 255)
|
||||
#define IN_FROM_REG(val) ((val) * 16)
|
||||
|
@ -269,7 +265,6 @@ static struct i2c_driver w83781d_driver = {
|
|||
.driver = {
|
||||
.name = "w83781d",
|
||||
},
|
||||
.id = I2C_DRIVERID_W83781D,
|
||||
.attach_adapter = w83781d_attach_adapter,
|
||||
.detach_client = w83781d_detach_client,
|
||||
};
|
||||
|
|
|
@ -101,7 +101,6 @@
|
|||
#define I2C_DRIVERID_LM78 1002
|
||||
#define I2C_DRIVERID_LM75 1003
|
||||
#define I2C_DRIVERID_EEPROM 1005
|
||||
#define I2C_DRIVERID_W83781D 1006
|
||||
#define I2C_DRIVERID_LM80 1007
|
||||
#define I2C_DRIVERID_ADM1021 1008
|
||||
#define I2C_DRIVERID_ADM9240 1009
|
||||
|
|
Loading…
Reference in New Issue