diff options
author | Saravana Kannan <saravanak@google.com> | 2020-11-20 18:02:28 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:13:02 +0100 |
commit | 25ac86c6dbe62fba9b97e997fa648cdbe2d40173 (patch) | |
tree | 249aaf46122d7df526dc9f2c1079e8bae6579cc9 /drivers/gpio/gpio-wm831x.c | |
parent | c2c724c868c42c5166bf7aa644dd0a0c8d30b47a (diff) | |
download | linux-next-25ac86c6dbe62fba9b97e997fa648cdbe2d40173.tar.gz |
driver core: Use device's fwnode to check if it is waiting for suppliers
To check if a device is still waiting for its supplier devices to be
added, we used to check if the devices is in a global
waiting_for_suppliers list. Since the global list will be deleted in
subsequent patches, this patch stops using this check.
Instead, this patch uses a more device specific check. It checks if the
device's fwnode has any fwnode links that haven't been converted to
device links yet.
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20201121020232.908850-14-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-wm831x.c')
0 files changed, 0 insertions, 0 deletions