Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46904 )
Change subject: drivers/wifi/generic: Use is_dev_enabled() instead of dev->enabled ......................................................................
drivers/wifi/generic: Use is_dev_enabled() instead of dev->enabled
This change replaces the checks for dev->enabled with the helper function `is_dev_enabled()`.
Change-Id: Iacceda396c9300bbfa124e76fb9c99d86313ea0f Signed-off-by: Furquan Shaikh furquan@google.com --- M src/drivers/wifi/generic/acpi.c 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/46904/1
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c index 33862d9..4544b46 100644 --- a/src/drivers/wifi/generic/acpi.c +++ b/src/drivers/wifi/generic/acpi.c @@ -222,7 +222,7 @@ { const char *path;
- if (!dev->enabled) + if (is_dev_enabled(dev)) return;
path = acpi_device_path(dev); @@ -247,7 +247,7 @@ { const char *path;
- if (!dev->enabled) + if (!is_dev_enabled(dev)) return;
path = acpi_device_path(dev->bus->dev);