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)
commitae996154f72fdd116291f69ec6c856be9c77042a
treead7ea2d80a7cad3fc1431d158281d2a540e18cb3
parent3e3d35402140f15a626f24afafb0d7fc3b2e5aa2
via-rhine: Disable device in error path

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