diff options
| author | Guixin Liu <kanie@linux.alibaba.com> | 2025-12-17 11:16:01 +0300 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-01-15 18:38:00 +0300 |
| commit | bdc0c634612e3a9ecf318387a2c9cc0321ebf212 (patch) | |
| tree | cc31bdd64288137ebd24aced66e4fdb25b10eaa8 | |
| parent | d70f60ad964dc773bfcf73d52099472228629cac (diff) | |
| download | linux-bdc0c634612e3a9ecf318387a2c9cc0321ebf212.tar.xz | |
i2c: tegra: remove unused rst
Since commit 56344e241c54 ("i2c: tegra: Fix reset error handling with
ACPI") replace reset_control_reset() with device_reset(), the rst
is no longer used, remove it.
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20251217081601.93856-1-kanie@linux.alibaba.com
| -rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index e533460bccc3..9e39ac7a0a69 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -240,7 +240,6 @@ struct tegra_i2c_hw_feature { * @div_clk: clock reference for div clock of I2C controller * @clocks: array of I2C controller clocks * @nclocks: number of clocks in the array - * @rst: reset control for the I2C controller * @base: ioremapped registers cookie * @base_phys: physical base address of the I2C controller * @cont_id: I2C controller ID, used for packet header @@ -269,7 +268,6 @@ struct tegra_i2c_dev { struct i2c_adapter adapter; const struct tegra_i2c_hw_feature *hw; - struct reset_control *rst; unsigned int cont_id; unsigned int irq; |
