]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i2c: qcom-cci: Remove unused struct member cci_clk_rate
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Thu, 31 Oct 2024 11:30:43 +0000 (13:30 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 17 Nov 2024 10:58:56 +0000 (11:58 +0100)
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>
drivers/i2c/busses/i2c-qcom-cci.c

index a0ef43e997516118441f7650621bd8e925f187f2..05b73326afd4a6652838e793c0743ff2261e3ef2 100644 (file)
@@ -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,