net: phy: mscc: read 'vsc8531, led-%d-mode' as an u32
authorQuentin Schulz <quentin.schulz@bootlin.com>
Mon, 3 Sep 2018 08:48:51 +0000 (10:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Sep 2018 17:47:53 +0000 (10:47 -0700)
commit5ff8e1f3cd63e892cedf34e374678c2c178000d6
tree4fa6c63ff4806be71a2c3190af3f3ff439d57dd0
parent36c53cf0f46526b898390659b125155939f67892
net: phy: mscc: read 'vsc8531, led-%d-mode' as an u32

In the DT binding, it is specified nowhere that 'vsc8531,led-%d-mode' is
an u8, even though it's read as an u8 in the driver.

Let's update the driver to take into consideration that the
'vsc8531,led-%d-mode' property is of the default type u32.

Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc.c