summaryrefslogtreecommitdiff
path: root/drivers/twserial
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-04-19 16:19:29 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commit9fdfadf8fc83b173b3ba55aa82739ca92d8a273d (patch)
tree3c59744391fc23b2e6de92191f80a41f2b2e9869 /drivers/twserial
parentf79f1e0c0ea06de3af79094bc80be6e218b5f6ef (diff)
downloadu-boot-imx-9fdfadf8fc83b173b3ba55aa82739ca92d8a273d.zip
u-boot-imx-9fdfadf8fc83b173b3ba55aa82739ca92d8a273d.tar.gz
u-boot-imx-9fdfadf8fc83b173b3ba55aa82739ca92d8a273d.tar.bz2
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>
Diffstat (limited to 'drivers/twserial')
0 files changed, 0 insertions, 0 deletions