diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-03-12 14:02:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-15 15:42:12 +0000 |
commit | 1deceabbdc0dd3162def1e26acb2e57a93275909 (patch) | |
tree | 93c4de1089e9d3640775ac63a0d3e44b36beccbd /drivers/regulator/da9121-regulator.h | |
parent | 9cbc23f7d51fb0b1363bdfdd0b770aa7b5982f2f (diff) |
regulator: bd9571mwv: Convert device attribute to sysfs_emit()
Convert the "backup_mode" device attribute from sprintf() to
sysfs_emit(), as the latter is aware of the PAGE_SIZE buffer.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210312130242.3390038-4-geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/da9121-regulator.h')
0 files changed, 0 insertions, 0 deletions