]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb970e9199109ce6c31c0ddd3cc6b139e4358edbc
tree61ed8b2cf833d1a131d0002bd93d250677541982
parent9d55d2bfef8327b0f7453cbeadfcd6167716c41d
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