diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-09 20:35:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-10 07:11:56 +0300 |
commit | 695bce8fd8e994999f40ee279e2fa9979cbae87a (patch) | |
tree | 7d8aa60f5346b0d95a1f91a5315d3f70954b547c /sound | |
parent | a4bec00b2879e3f9ea99411e37632eabd31c5c65 (diff) | |
download | linux-695bce8fd8e994999f40ee279e2fa9979cbae87a.tar.xz |
net: phy: improve struct phy_device member interrupts handling
As a heritage from the very early days of phylib member interrupts is
defined as u32 even though it's just a flag whether interrupts are
enabled. So we can change it to a bitfield member. In addition change
the code dealing with this member in a way that it's clear we're
dealing with a bool value.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions