This ports the following barebox commit:
| commit 0568376
| Author: Andrey Smirnov <andrew.smirnov@gmail.com>
| Date: Tue Oct 16 12:15:40 2018 -0700
|
| drivers: Introduce dev_set_name()
|
| Introduce dev_set_name() in order to hide implementation details of
| setting device's name so it'd be easier to change it.
|
| Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
| Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>