diff options
| author | Denis Kirjanov <[email protected]> | 2022-10-27 18:45:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-10-31 09:10:45 +0000 |
| commit | eca485d22165695587bed02d8b9d0f7f44246c4a (patch) | |
| tree | c77ea81603a548e8d05355e21e0652cef7102a34 /drivers/net/usb/asix_devices.c | |
| parent | dt-bindings: net: snps,dwmac: Document queue config subnodes (diff) | |
| download | kernel-eca485d22165695587bed02d8b9d0f7f44246c4a.tar.gz kernel-eca485d22165695587bed02d8b9d0f7f44246c4a.zip | |
drivers: net: convert to boolean for the mac_managed_pm flag
Signed-off-by: Dennis Kirjanov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/usb/asix_devices.c')
| -rw-r--r-- | drivers/net/usb/asix_devices.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/usb/asix_devices.c b/drivers/net/usb/asix_devices.c index 11f60d32be82..02941d97d034 100644 --- a/drivers/net/usb/asix_devices.c +++ b/drivers/net/usb/asix_devices.c @@ -700,7 +700,7 @@ static int ax88772_init_phy(struct usbnet *dev) } phy_suspend(priv->phydev); - priv->phydev->mac_managed_pm = 1; + priv->phydev->mac_managed_pm = true; phy_attached_info(priv->phydev); @@ -720,7 +720,7 @@ static int ax88772_init_phy(struct usbnet *dev) return -ENODEV; } - priv->phydev_int->mac_managed_pm = 1; + priv->phydev_int->mac_managed_pm = true; phy_suspend(priv->phydev_int); return 0; |
