Re: [PATCH net-next 2/2] caif_usb: Make the driver name check more efficient
From: David Miller <davem@davemloft.net> Date: 2012-12-09 05:34:56
From: Ben Hutchings <redacted>
Date: Fri, 7 Dec 2012 16:20:27 +0000
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 <redacted>
---
Compile-tested only. I'm assuming that the strncmp() is not really
necessary, but perhaps there is some OOT variant of cdc_ncm that is also
supposed to be supported?
Applied, I guess you found this while looking around for tests
of ethtool_ops being NULL?