]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: renesas: Store clock rate and reset controls in struct renesas_i3c
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Wed, 7 Jan 2026 10:33:48 +0000 (11:33 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 14:54:26 +0000 (15:54 +0100)
commitff4e4f03f0089635b3476d68f5b8833ea67adad6
tree93dc2826ab48fcf3327f2598571faba3aeb7c79e
parent579c7255922a3e0ba432eb608deb7d0fed896052
i3c: renesas: Store clock rate and reset controls in struct renesas_i3c

Update the struct renesas_i3c to store the clock rate, presetn and
tresetn handlers. Replace local usage of the clock rate and reset
controls with these structure fields.

Simplify the code and prepare the driver for upcoming suspend/resume
support.

No functional change intended.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/9e1da95dd9137590c752ecd9429925afcbeb918b.1767781092.git.tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/renesas-i3c.c