commit | 5ed2e42228563e78214a85c1cc9c1cb012b7496c | [log] [tgz] |
---|---|---|
author | Przemyslaw Marczak <p.marczak@samsung.com> | Wed Apr 15 13:07:25 2015 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Apr 22 11:03:15 2015 -0600 |
tree | 624132a7fed152a22b665157f925450487cd636c | |
parent | d3ef0d7d50e9387abe3ceef8b3b6d8c72dd6b642 [diff] |
dm: core: device: add function: dev_get_uclass_name() This commit extends the driver model device's API by function: - dev_get_uclass_name() And this function returns the device's uclass driver name if: - given dev pointer, is non_NULL otherwise, the NULL pointer is returned. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>