net: phy: sftp: print debug message with text, not numbers
authorAndrew Lunn <andrew@lunn.ch>
Wed, 8 Aug 2018 18:54:12 +0000 (20:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:19:20 +0000 (14:19 -0700)
commit4005a7cb4f553a21d60f24ed7a18fbd26c6db9f4
tree2c6f0ccedc1950b85b328d2a0f4dc9f2f296c48b
parent51507c5f6484055c3d6071e9fb7aac5567efc20f
net: phy: sftp: print debug message with text, not numbers

Convert the state numbers, device state, etc from numbers to strings
when printing debug messages.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c