Skip to content
Commit df5f6b6a authored by Nares Solanki's avatar Nares Solanki Committed by Guenter Roeck
Browse files

hwmon: (pmbus/core) Generalise pmbus get status



Add function pmbus get status that can be used to get both pmbus
specific status & regulator status

Signed-off-by: Nares Solanki's avatarNaresh Solanki <naresh.solanki@9elements.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
...
Change in V4
- None
Changes in V3:
- Add pmbus_is_enabled function
Changes in V2:
- Add __maybe attribute for pmbus_get_status function
- Remove unrelated changes
Link: https://lore.kernel.org/r/20230301164434.1928237-2-Naresh.Solanki@9elements.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 7ab0da3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment