From 1e87af97e63d7e4bf6b9d2d6383a8c1c689afcb1 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 24 Mar 2014 12:57:25 -0300 Subject: [PATCH] smsc911x: Do not use netdev_dbg() when device is not registered With debug enabled we get the following message: smsc911x smsc911x (unregistered net_device): couldn't get clock -2 As the device has not been registered at this point, it is better to use dev_dbg() instead of netdev_dbg(). CC: Sergei Shtylyov Suggested-by: Sergei Shtylyov Signed-off-by: Fabio Estevam Signed-off-by: David S. Miller --- Reading git-format-patch failed