Home
last modified time | relevance | path

Searched hist:cc73d37b7f1edbbf03e2abcf5815bdd122e8baed (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/dm/
H A Ddevice.hcc73d37b7f1edbbf03e2abcf5815bdd122e8baed Wed Apr 15 11:07:24 UTC 2015 Przemyslaw Marczak <p.marczak@samsung.com> 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>
/rk3399_rockchip-uboot/drivers/core/
H A Ddevice.ccc73d37b7f1edbbf03e2abcf5815bdd122e8baed Wed Apr 15 11:07:24 UTC 2015 Przemyslaw Marczak <p.marczak@samsung.com> 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>