Commit 8509500a authored by Jean Delvare's avatar Jean Delvare Committed by David S. Miller

sfc: Don't specify unexistent IRQ

Neither the lm90 driver nor the lm87 driver do support interrupts, so
there is no point in specifying one when declaring the devices.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ea7eaa39
...@@ -172,7 +172,6 @@ static const u8 sfe4002_lm87_regs[] = { ...@@ -172,7 +172,6 @@ static const u8 sfe4002_lm87_regs[] = {
static struct i2c_board_info sfe4002_hwmon_info = { static struct i2c_board_info sfe4002_hwmon_info = {
I2C_BOARD_INFO("lm87", 0x2e), I2C_BOARD_INFO("lm87", 0x2e),
.platform_data = &sfe4002_lm87_channel, .platform_data = &sfe4002_lm87_channel,
.irq = -1,
}; };
/****************************************************************************/ /****************************************************************************/
...@@ -247,7 +246,6 @@ static const u8 sfn4112f_lm87_regs[] = { ...@@ -247,7 +246,6 @@ static const u8 sfn4112f_lm87_regs[] = {
static struct i2c_board_info sfn4112f_hwmon_info = { static struct i2c_board_info sfn4112f_hwmon_info = {
I2C_BOARD_INFO("lm87", 0x2e), I2C_BOARD_INFO("lm87", 0x2e),
.platform_data = &sfn4112f_lm87_channel, .platform_data = &sfn4112f_lm87_channel,
.irq = -1,
}; };
#define SFN4112F_ACT_LED 0 #define SFN4112F_ACT_LED 0
......
...@@ -296,7 +296,6 @@ static int sfe4001_check_hw(struct efx_nic *efx) ...@@ -296,7 +296,6 @@ static int sfe4001_check_hw(struct efx_nic *efx)
static struct i2c_board_info sfe4001_hwmon_info = { static struct i2c_board_info sfe4001_hwmon_info = {
I2C_BOARD_INFO("max6647", 0x4e), I2C_BOARD_INFO("max6647", 0x4e),
.irq = -1,
}; };
/* This board uses an I2C expander to provider power to the PHY, which needs to /* This board uses an I2C expander to provider power to the PHY, which needs to
...@@ -389,12 +388,10 @@ static void sfn4111t_fini(struct efx_nic *efx) ...@@ -389,12 +388,10 @@ static void sfn4111t_fini(struct efx_nic *efx)
static struct i2c_board_info sfn4111t_a0_hwmon_info = { static struct i2c_board_info sfn4111t_a0_hwmon_info = {
I2C_BOARD_INFO("max6647", 0x4e), I2C_BOARD_INFO("max6647", 0x4e),
.irq = -1,
}; };
static struct i2c_board_info sfn4111t_r5_hwmon_info = { static struct i2c_board_info sfn4111t_r5_hwmon_info = {
I2C_BOARD_INFO("max6646", 0x4d), I2C_BOARD_INFO("max6646", 0x4d),
.irq = -1,
}; };
int sfn4111t_init(struct efx_nic *efx) int sfn4111t_init(struct efx_nic *efx)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment