diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2026-08-01 18:41:26 -0700 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 08:59:43 -0700 |
| commit | 5b3dfe24a1a87110302504e543daa3f9e165eac5 (patch) | |
| tree | 40e62dd3bc9c21d0f8be9fa526631aa55353277c /tools/perf/scripts/python | |
| parent | 1c5b549f80a7b8f6b9977321e6888c3f91c0822d (diff) | |
hwmon: (pmbus/adm1275) Use pmbus_read_smbus_i2c_block_data for block commands
The driver uses i2c_smbus_read_block_data() for PMBus block commands.
Use pmbus_read_smbus_i2c_block_data() instead to enable the driver to work
with I2C controllers which do not support i2c_smbus_read_block_data().
Drop the functionality check to get an explicit error message if the
required SMBus commands are not supported.
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
