ipmi: Cleanup error return
authorCorey Minyard <cminyard@mvista.com>
Fri, 24 Jan 2014 20:00:53 +0000 (14:00 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Jan 2014 23:31:58 +0000 (15:31 -0800)
commitd02b3709ff8efebfca0612d0ac2a6e31a91c13f4
treeb052ce0e547d884b9b86ef26f28d9e3355822462
parente21404dc0ac7ac971c1e36274b48bb460463f4e5
ipmi: Cleanup error return

Return proper errors for a lot of IPMI failure cases.  Also call
pci_disable_device when IPMI PCI devices are removed.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c