via-rhine: Disable device in error path
authorRoger Luethi <rl@hellgate.ch>
Tue, 18 Mar 2014 17:14:01 +0000 (18:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Mar 2014 20:08:29 +0000 (16:08 -0400)
Currently, via-rhine fails to call pci_disable_device() for errors
in rhine_init_one().

Reported-by: Huqiu Liu <liuhq11@mails.tsinghua.edu.cn>
Signed-off-by: Roger Luethi <rl@hellgate.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c

Simple merge