net: dsa: microchip: add dev_err_probe in probe functions
authorRakesh Sankaranarayanan <rakesh.sankaranarayanan@microchip.com>
Mon, 7 Nov 2022 09:29:22 +0000 (14:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2022 13:06:01 +0000 (13:06 +0000)
commit9b1833170632e278971358c8c055d5960c6c7a05
tree84ee79f0bd7819ee987b80912f5080645eb60924
parent4630d1420f841b2b112928359c4dc148d9a7d1f8
net: dsa: microchip: add dev_err_probe in probe functions

Probe functions uses normal dev_err() to check error conditions
and print messages. Replace dev_err() with dev_err_probe() to
have more standardized format and error logging.

Signed-off-by: Rakesh Sankaranarayanan <rakesh.sankaranarayanan@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz8863_smi.c
drivers/net/dsa/microchip/ksz9477_i2c.c
drivers/net/dsa/microchip/ksz_spi.c