net: phy: mxl-gpy: print firmware in human readable form
authorMichael Walle <michael@walle.cc>
Tue, 12 Jul 2022 13:15:54 +0000 (15:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2022 13:18:39 +0000 (14:18 +0100)
commitd523f2eb1dadb74d365365eb3bd921ad8b6b2abb
treefff910cdd083ca5b1214b5dbdfd0a9ada174b7c0
parent1e9aa7baf0965443350c8751f328bc671550d718
net: phy: mxl-gpy: print firmware in human readable form

Now having a major and a minor number, also print the firmware in
human readable form "major.minor". Still keep the 4-digit hexadecimal
representation because that form is used in the firmware changelog
documents. Also, drop the "release" string assuming that most common
case, but make it clearer that the user is running a test version.

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