i2c: isch: Pass pointer to struct i2c_adapter down
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Sep 2024 12:01:28 +0000 (15:01 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 13 Nov 2024 22:29:45 +0000 (23:29 +0100)
commit3fe09719a06b0dd69e9b971152d2424196e48ef0
treeba900b8c58bdf8ead3c05eb9e1827494a1f535f0
parent7cfe1a45de8d506d0722abda25430986376d3676
i2c: isch: Pass pointer to struct i2c_adapter down

There are a lot of messaging calls that use global variable of
struct i2c_adapter. Instead, to make code better and flexible
for further improvements, pass the pointer to the actual adapter
used for transfers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-isch.c