summaryrefslogtreecommitdiffstats
path: root/virt/lib
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2024-02-02 08:06:30 +0100
committerAndi Shyti <andi.shyti@kernel.org>2024-02-08 18:07:03 +0100
commit857cc04cdf508d043a062fff3aea8ca01303b731 (patch)
tree85649eaf1fe5dc19167e9f30e282d05fb3502d70 /virt/lib
parenti2c: i801: Add SMBUS_LEN_SENTINEL (diff)
downloadlinux-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