regulator: core: Add error flags to sysfs attributes
authorZev Weiss <zev@bewilderbeest.net>
Wed, 4 May 2022 06:52:49 +0000 (23:52 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 4 May 2022 14:31:26 +0000 (15:31 +0100)
commit0f2d636e7d1fd76f704dd3ea5089ce29a8aee049
tree61ed8b2cf833d1a131d0002bd93d250677541982
parent20078e3bbe6e5adb1a88f03f9609d532d99c690c
regulator: core: Add error flags to sysfs attributes

If a regulator provides a get_error_flags() operation, its sysfs
attributes will now include an entry for each defined
REGULATOR_ERROR_* flag.

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20220504065252.6955-3-zev@bewilderbeest.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/ABI/testing/sysfs-class-regulator
drivers/regulator/core.c