netxen: Fix a panic during driver unload in device_remove_file
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Fri, 3 Feb 2012 11:35:14 +0000 (11:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Feb 2012 20:59:29 +0000 (15:59 -0500)
commitb8c30812b479a53b717ad665728df55d30f784d5
tree59f6d7c56eb6467fb465a7eb9842675da25e6959
parent5471aed0259298e4e258b8a9e403ebdf88ebcd56
netxen: Fix a panic during driver unload in device_remove_file

o Pass adapter->pdev->dev instead of netdev->dev

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c