Commit b641af68 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy Committed by Andi Shyti
Browse files

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: default avatarVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent c5eda033
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -120,7 +120,6 @@ struct cci_data {
	unsigned int num_masters;
	struct i2c_adapter_quirks quirks;
	u16 queue_size[NUM_QUEUES];
	unsigned long cci_clk_rate;
	struct hw_params params[3];
};

@@ -682,7 +681,6 @@ static const struct cci_data cci_v1_data = {
		.max_write_len = 10,
		.max_read_len = 12,
	},
	.cci_clk_rate =  19200000,
	.params[I2C_MODE_STANDARD] = {
		.thigh = 78,
		.tlow = 114,
@@ -716,7 +714,6 @@ static const struct cci_data cci_v1_5_data = {
		.max_write_len = 10,
		.max_read_len = 12,
	},
	.cci_clk_rate =  19200000,
	.params[I2C_MODE_STANDARD] = {
		.thigh = 78,
		.tlow = 114,
@@ -750,7 +747,6 @@ static const struct cci_data cci_v2_data = {
		.max_write_len = 11,
		.max_read_len = 12,
	},
	.cci_clk_rate =  37500000,
	.params[I2C_MODE_STANDARD] = {
		.thigh = 201,
		.tlow = 174,