Re: [PATCH 4/5] hwmon: (pmbus/max20830) Use pmbus_read_smbus_i2c_block_data for block commands

[email protected] Mon, 03 Aug 2026 19:43:44 +0000
Newsgroups org.kernel.vger.linux-hwmon
Message-ID <[email protected]>
> The driver tries to use both pmbus_read_smbus_i2c_block_data() and
> i2c_smbus_read_i2c_block_data() for PMBus block commands.
>=20
> Use pmbus_read_smbus_i2c_block_data() instead to simplify the code.
>=20
> Drop the functionality check to simplify the code and to trigger a return
> with -EOPNOTSUPP if SMBus block commands are not supported.
>=20
> Cc: Alexis Czezar Torreno <[email protected]>
> Cc: Nuno S=C3=A1 <[email protected]>
> Signed-off-by: Guenter Roeck <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

--=20
Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260803193535.2286=
[email protected]?part=3D4