diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2023-07-25 15:54:25 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-07-25 17:56:33 +0300 |
commit | 55aab08f1856894d7d47d0ee23abbb4bc4854345 (patch) | |
tree | cdeec647293b2ba7c2da5e18008351c93167ee4d /scripts/gdb/linux/utils.py | |
parent | 54685abe660a59402344d5045ce08c43c6a5ac42 (diff) | |
download | linux-55aab08f1856894d7d47d0ee23abbb4bc4854345.tar.xz |
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: stable@vger.kernel.org # v6.4
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
Link: https://lore.kernel.org/r/20230725125428.3966803-1-Naresh.Solanki@9elements.com
[groeck: Rephrased commit message]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions