net: phy: replace bool members in struct phy_device with bit-fields
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 23 May 2018 06:05:20 +0000 (08:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 May 2018 19:35:58 +0000 (15:35 -0400)
commit87e5808d52b65fc5b0bfda209ba8864cc2f933e5
treee02bd95765c67d09a5347005a20f92cef4a54021
parent5c352421c83eb3b152b1da86a93061eb1bf94475
net: phy: replace bool members in struct phy_device with bit-fields

In struct phy_device we have a number of flags being defined as type
bool. Similar to e.g. struct pci_dev we can save some space by using
bit-fields.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h