Home
last modified time | relevance | path

Searched hist:"9 fdfadf8fc83b173b3ba55aa82739ca92d8a273d" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/core/
H A Dlists.c9fdfadf8fc83b173b3ba55aa82739ca92d8a273d Tue Apr 19 22:19:29 UTC 2016 Stephen Warren <swarren@nvidia.com> dm: core: allow drivers to refuse to bind

In some cases, drivers may not want to bind to a device. Allow bind() to
return -ENODEV in this case, and don't treat this as an error. This can
be useful in situations where some information source other than the DT
node's main status property indicates whether the device should be
enabled, for example other DT properties might indicate this, or the
driver might query non-DT sources such as system fuses or a version number
register.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>