Skip to content

Commit b641af6

Browse files
Vladimir ZapolskiyAndi Shyti
authored andcommitted
i2c: qcom-cci: Remove unused struct member cci_clk_rate
The removal of the supply clock rate check implies a need to remove some unnecessary left-over data from the driver as well. Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent c5eda03 commit b641af6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/i2c/busses/i2c-qcom-cci.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ struct cci_data {
120120
unsigned int num_masters;
121121
struct i2c_adapter_quirks quirks;
122122
u16 queue_size[NUM_QUEUES];
123-
unsigned long cci_clk_rate;
124123
struct hw_params params[3];
125124
};
126125

@@ -682,7 +681,6 @@ static const struct cci_data cci_v1_data = {
682681
.max_write_len = 10,
683682
.max_read_len = 12,
684683
},
685-
.cci_clk_rate = 19200000,
686684
.params[I2C_MODE_STANDARD] = {
687685
.thigh = 78,
688686
.tlow = 114,
@@ -716,7 +714,6 @@ static const struct cci_data cci_v1_5_data = {
716714
.max_write_len = 10,
717715
.max_read_len = 12,
718716
},
719-
.cci_clk_rate = 19200000,
720717
.params[I2C_MODE_STANDARD] = {
721718
.thigh = 78,
722719
.tlow = 114,
@@ -750,7 +747,6 @@ static const struct cci_data cci_v2_data = {
750747
.max_write_len = 11,
751748
.max_read_len = 12,
752749
},
753-
.cci_clk_rate = 37500000,
754750
.params[I2C_MODE_STANDARD] = {
755751
.thigh = 201,
756752
.tlow = 174,

0 commit comments

Comments
 (0)