r8152: modify rtl_ops_init
authorhayeswang <hayeswang@realtek.com>
Thu, 6 Nov 2014 04:47:39 +0000 (12:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Nov 2014 20:14:30 +0000 (15:14 -0500)
commit55b6547547f9a6719b62fb07d656863142e028a8
tree537abd3301e6da684eb44d869c9f78fb0a738fd9
parent82cf94cbcf95356ba9ba8c2533291a7792bbe5e7
r8152: modify rtl_ops_init

Replace using VID/PID with using tp->version to initialize the ops.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c