]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: phy: mxl-gpy: fix version reporting
authorMichael Walle <michael@walle.cc>
Tue, 12 Jul 2022 13:15:51 +0000 (15:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 13:18:39 +0000 (14:18 +0100)
commitfc3dd0367e610ae20ebbce6c38c7b86c3a2cc07f
tree07ec17aa50d365fabdaf4a14bcfd941d2b24161e
parentd7c31cbde4bc6756d1a11747d2b99bc627001c86
net: phy: mxl-gpy: fix version reporting

The commit 09ce6b20103b ("net: phy: mxl-gpy: add temperature sensor")
will overwrite the return value and the reported version will be wrong.
Fix it.

Fixes: 09ce6b20103b ("net: phy: mxl-gpy: add temperature sensor")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mxl-gpy.c