summaryrefslogtreecommitdiffstats
path: root/include/twl6030_pwrbtn.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-12-09 11:57:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-12-14 08:26:54 +0100
commit20192eb8b7914ee25d7f0dc9e19ff1d6d1e5fa44 (patch)
tree20a3f099a0bb006ad8795fcd9f884f5679b99a10 /include/twl6030_pwrbtn.h
parent3df8dadc8efe1c65da9487f81a084447da2ebdf8 (diff)
downloadbarebox-20192eb8b7914ee25d7f0dc9e19ff1d6d1e5fa44.tar.gz
barebox-20192eb8b7914ee25d7f0dc9e19ff1d6d1e5fa44.tar.xz
of: implement new of_property_sprintf
Board code may compute values for device tree properties and write them as strings. Make this easier by adding a of_property_write_string variant that does formatted output. This also saves an allocation, because asprintf buffer is reused. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211209105708.3517684-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/twl6030_pwrbtn.h')
0 files changed, 0 insertions, 0 deletions