Unverified Commit bdc0c634 authored by Guixin Liu's avatar Guixin Liu Committed by Andi Shyti
Browse files

i2c: tegra: remove unused rst



Since commit 56344e24 ("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: default avatarGuixin Liu <kanie@linux.alibaba.com>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20251217081601.93856-1-kanie@linux.alibaba.com
parent d70f60ad
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;