Skip to content

Commit bdc0c63

Browse files
guixinliu1995Andi Shyti
authored andcommitted
i2c: tegra: remove unused rst
Since commit 56344e2 ("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
1 parent d70f60a commit bdc0c63

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/i2c/busses/i2c-tegra.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ struct tegra_i2c_hw_feature {
240240
* @div_clk: clock reference for div clock of I2C controller
241241
* @clocks: array of I2C controller clocks
242242
* @nclocks: number of clocks in the array
243-
* @rst: reset control for the I2C controller
244243
* @base: ioremapped registers cookie
245244
* @base_phys: physical base address of the I2C controller
246245
* @cont_id: I2C controller ID, used for packet header
@@ -269,7 +268,6 @@ struct tegra_i2c_dev {
269268
struct i2c_adapter adapter;
270269

271270
const struct tegra_i2c_hw_feature *hw;
272-
struct reset_control *rst;
273271
unsigned int cont_id;
274272
unsigned int irq;
275273

0 commit comments

Comments
 (0)