diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-02-10 14:09:49 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-02-19 09:18:05 +0100 |
commit | c6250f94edb7765d0cff198cb0ac87f75e556276 (patch) | |
tree | 4f2fa4b178a7b62bbae99146573aeaa653decc8a /lib | |
parent | c9322d4feab59fc4d05996d2c3d02eae50336be0 (diff) | |
download | barebox-c6250f94edb7765d0cff198cb0ac87f75e556276.tar.gz barebox-c6250f94edb7765d0cff198cb0ac87f75e556276.tar.xz |
reset_source: introduce reset_source_to_string
We have a few places where driver code prints reset_source_name() to
console after setting the reset source.
This working is probe order dependent, because reset_source_name()
prints the highest priority reset_source so far, which doesn't
necessarily have to be the one that was just computed.
Implement reset_source_to_string, so drivers can be migrated to use it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions