diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2024-02-02 08:06:30 +0100 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-02-08 18:07:03 +0100 |
commit | 857cc04cdf508d043a062fff3aea8ca01303b731 (patch) | |
tree | 85649eaf1fe5dc19167e9f30e282d05fb3502d70 /virt/lib | |
parent | i2c: i801: Add SMBUS_LEN_SENTINEL (diff) | |
download | linux-857cc04cdf508d043a062fff3aea8ca01303b731.tar.xz linux-857cc04cdf508d043a062fff3aea8ca01303b731.zip |
i2c: i801: Add helper i801_get_block_len
Avoid code duplication and factor out retrieving and checking the
block length value to new helper i801_get_block_len().
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>
Diffstat (limited to 'virt/lib')
0 files changed, 0 insertions, 0 deletions