driver core: Add device_is_dependent() to linux/device.h
DT implementation of fw_devlink needs this function to detect cycles. So make it available. Signed-off-by: NSaravana Kannan <saravanak@google.com> Tested-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NRob Herring <robh@kernel.org>
Showing
想要评论请 注册 或 登录