Commit 5f77f6c6 authored by Vaibhav Gupta's avatar Vaibhav Gupta

software: kernel: fa-i2c: Remove board info

Since we are not using si570 clock driver, there is no need to mention
it in board info. Otherwise it will remain in the file as unsed lines.
Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
parent 0fc0428f
...@@ -21,13 +21,6 @@ static struct resource si570_i2c_master_res = { ...@@ -21,13 +21,6 @@ static struct resource si570_i2c_master_res = {
.flags = IORESOURCE_MEM, .flags = IORESOURCE_MEM,
}; };
/* optional board info */
struct i2c_board_info si570_i2c_board_info[] = {
{
I2C_BOARD_INFO("si570", 0x55),
},
};
#define SI570_I2C_MASTER_CLK_HZ 125000000 #define SI570_I2C_MASTER_CLK_HZ 125000000
#define SI570_I2C_MASTER_CLK_KHZ (SI570_I2C_MASTER_CLK_HZ / 1000) #define SI570_I2C_MASTER_CLK_KHZ (SI570_I2C_MASTER_CLK_HZ / 1000)
...@@ -35,9 +28,8 @@ static struct ocores_i2c_platform_data si570_i2c_master_data = { ...@@ -35,9 +28,8 @@ static struct ocores_i2c_platform_data si570_i2c_master_data = {
.reg_shift = 2, /* two bytes between registers */ .reg_shift = 2, /* two bytes between registers */
.reg_io_width = 4, .reg_io_width = 4,
.clock_khz = SI570_I2C_MASTER_CLK_KHZ, .clock_khz = SI570_I2C_MASTER_CLK_KHZ,
.big_endian = true, .num_devices = 0,
.devices = si570_i2c_board_info, .devices = NULL,
.num_devices = ARRAY_SIZE(si570_i2c_board_info),
}; };
static int fa_si570_i2c_find_adapter(struct device *dev, void *data) static int fa_si570_i2c_find_adapter(struct device *dev, void *data)
......
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