diff options
author | Patrick Rudolph <[email protected]> | 2023-07-25 14:54:25 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-07-25 07:56:33 -0700 |
commit | 55aab08f1856894d7d47d0ee23abbb4bc4854345 (patch) | |
tree | cdeec647293b2ba7c2da5e18008351c93167ee4d /lib/mpi/mpi-sub-ui.c | |
parent | 54685abe660a59402344d5045ce08c43c6a5ac42 (diff) |
hwmon: (pmbus_core) Fix pmbus_is_enabled()
Refactor pmbus_is_enabled() to return the status without any additional
processing as it is already done in _pmbus_is_enabled().
Fixes: df5f6b6af01c ("hwmon: (pmbus/core) Generalise pmbus get status")
Cc: [email protected] # v6.4
Signed-off-by: Patrick Rudolph <[email protected]>
Signed-off-by: Naresh Solanki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Rephrased commit message]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions