Skip to content
Commit 098d6b25 authored by Quanyang Wang's avatar Quanyang Wang Committed by Bruce Ashfield
Browse files

pmbus: tps544: adapt for updated pmbus interfaces



Because of commit 43f33b6e ("hwmon: (pmbus) Add 'phase' parameter
where needed for multi-phase support"), the function "pmbus_read_word_data"
needs one more argument "phase". Since tps544 doesn't support
multi-phase, this "phase" argument will be ignored. Let's pass "0xff"
to pmbus_read_word_data just to avoid compile error.

Because of commit dd431939 ("hwmon (pmbus) use simple i2c probe
function"), remove "id" argument from tps544_probe since pmbus_do_probe
doesn't need it anymore.

Because of commit 3bce071a ("hwmon: (pmbus) shrink code and remove
pmbus_do_remove()"), remove the obsolete function "pmbus_do_remove".

Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 962b5e0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment