u-boot/drivers/core
Przemyslaw Marczak cc73d37b7f dm: core: device: add function: dev_get_driver_ops()
This commit extends the driver model device's API by function:
- dev_get_driver_ops()

And this function returns the device's driver's operations if given:
- dev pointer, is non-NULL
- dev->driver->ops pointer, is non-NULL
in other case the, 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>
2015-04-22 11:03:15 -06:00
..
device-remove.c dm: core: Extend struct udevice by '.uclass_platdata' field. 2015-04-22 11:03:14 -06:00
device.c dm: core: device: add function: dev_get_driver_ops() 2015-04-22 11:03:15 -06:00
Kconfig kconfig: remove unneeded dependency on !SPL_BUILD 2015-02-24 17:06:27 -05:00
lists.c dm: core: Rename driver data function to dev_get_driver_data() 2015-04-18 11:11:19 -06:00
Makefile dm: Allow device removal features to be dropped 2014-11-21 08:13:02 +01:00
root.c dm: Add support for all targets which requires MANUAL_RELOC 2015-02-12 15:17:29 -07:00
simple-bus.c dm: core: Add support for simple-bus 2014-10-22 10:36:56 -06:00
uclass.c dm: core: uclass: add function: uclass_get_device_by_name() 2015-04-22 11:03:15 -06:00
util.c dm: Add base driver model support 2014-03-04 12:15:29 -05:00