net/sonic: Clean up and modernize log messages
authorFinn Thain <[email protected]>
Sat, 24 Feb 2018 23:27:25 +0000 (18:27 -0500)
committerDavid S. Miller <[email protected]>
Mon, 26 Feb 2018 19:40:02 +0000 (14:40 -0500)
commitbbc2f23a8f32cb403136d20cbed5fd056c1f6a7b
tree237581e6a40a7f2e421a76808f31eb883afdacfe
parent3d16bada58b2bdd15a840be09c04f49b40641838
net/sonic: Clean up and modernize log messages

Add missing printk severity levels by adopting pr_foo() calls for the
platform_driver and dev_foo() calls for the nubus_driver.
Avoid KERN_CONT usage as per advice from checkpatch.
Avoid #ifdef around printk calls.
Don't log driver probe messages after calling register_netdev().

Cc: Thomas Bogendoerfer <[email protected]>
Cc: Chris Zankel <[email protected]>
Tested-by: Stan Johnson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/natsemi/jazzsonic.c
drivers/net/ethernet/natsemi/macsonic.c
drivers/net/ethernet/natsemi/xtsonic.c