Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Guixin Liu and committed by
Andi Shyti
bdc0c634 d70f60ad

-2
-2
drivers/i2c/busses/i2c-tegra.c
··· 240 240 * @div_clk: clock reference for div clock of I2C controller 241 241 * @clocks: array of I2C controller clocks 242 242 * @nclocks: number of clocks in the array 243 - * @rst: reset control for the I2C controller 244 243 * @base: ioremapped registers cookie 245 244 * @base_phys: physical base address of the I2C controller 246 245 * @cont_id: I2C controller ID, used for packet header ··· 268 269 struct i2c_adapter adapter; 269 270 270 271 const struct tegra_i2c_hw_feature *hw; 271 - struct reset_control *rst; 272 272 unsigned int cont_id; 273 273 unsigned int irq; 274 274