Skip to contentSkip to conversation

i2c: tegra: remove unused rst

PATCH Applied Guixin Liu 2 participants 2 messages Dec 17, 2025 – Jan 15

Subsystems (3)
lore
Share & tools
lore

Guixin Liu

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/i2c/busses/i2c-tegra.c | 2 --
 1 file changed, 2 deletions(-)
drivers/i2c/busses/i2c-tegra.c +0 -2
index e533460bccc3..9e39ac7a0a69 100644
@@ -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;
 
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw

Hi Guixin,

Quoted 5 lines · Guixin Liu

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.

merged to i2c/i2c-host.

Thanks,
Andi