commit | e3b23e279045552498c63e8d5f373e16d1f6a977 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 30 13:40:39 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Aug 06 07:44:29 2015 -0600 |
tree | 15877db8c32f59a6457f89db7f9367210392401f | |
parent | 17d76767b8b2b4084eeb68ddb01fd076cf587804 [diff] |
dm: core: Add a way to set a device name Some devices are bound entirely by probing and do not have the benefit of a device tree to give them a name. This is very common with PCI and USB. In most cases this is fine, but we should add an official way to set a device name. This should be called in the device's bind() method. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>