caif_usb: Make the driver name check more efficient
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 7 Dec 2012 06:20:27 +0000 (06:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Dec 2012 05:34:02 +0000 (00:34 -0500)
commit65d2897c0f1b240420d657f41e561239fa10ba94
treeebb17b49e84fe9394316dab9ae561572704d5902
parent406636340c301b46062b22f94e3815ef767bd6a3
caif_usb: Make the driver name check more efficient

Use the device model to get just the name, rather than using the
ethtool API to get all driver information.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_usb.c