i2c: i801: Split i801_block_transaction
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 2 Feb 2024 07:02:55 +0000 (08:02 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 8 Feb 2024 17:06:45 +0000 (18:06 +0100)
commit6ff9d46cd36fbd004b1cd7c9173af5cdfbcd1df1
tree54ffea47a19ce9470f4e21d6e695ba88b4072a52
parent03f9863b1afa37779e82b18999a5e16aa759a397
i2c: i801: Split i801_block_transaction

i2c and smbus block transaction handling have little in common,
therefore split this function to improve code readability.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-i801.c