i2c: cadence: Remove `irq` field from driver state struct
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 7 Jan 2023 21:18:11 +0000 (13:18 -0800)
committerWolfram Sang <wsa@kernel.org>
Fri, 20 Jan 2023 08:55:45 +0000 (09:55 +0100)
commit2264997254ca1123967ed890c7924ca848c512a5
treedfecd2a3b181352f21783de80cbeac5e074e6e67
parent72f94ff21a264993c1c785f21ddc18d0cb1fccd2
i2c: cadence: Remove `irq` field from driver state struct

The irq field of the driver state struct is only used in the probe
function. There is no need to keep it around. Remove it from the state
struct and use a on-stack variable instead.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-cadence.c