]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: core: device: add function: dev_get_uclass_name()
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 15 Apr 2015 11:07:25 +0000 (13:07 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:30:10 +0000 (22:30 +0200)
commit6143aff46f27d6b0d868e4cab2e00dd51f2b2a12
tree29486036ad24f2d0f9bd2d13799b8b34d8171531
parentbed22becddae1ca763dce090fe5e82801eed44e9
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>
drivers/core/device.c
include/dm/device.h