linux_dsm_epyc7002/drivers
Benjamin Romer 03b93f08f8 staging: unisys: clean up initiate_chipset_device_pause_resume()
Simplify this function by removing the goto in favor of handling errors
immediately. Eliminate the vaguely-named variable x, and remove the
unneeded initialization of rc. Lastly, provide meaningful error values
to the callback function instead of just passing back a -1 for failure.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-25 22:40:52 -08:00
..
accessibility
acpi
amba
android Merge char-misc-next into staging-next 2016-02-22 14:46:24 -08:00
ata
atm
auxdisplay
base
bcma
block
bluetooth
bus
cdrom
char ppdev: use dev_* macros 2016-02-14 17:43:50 -08:00
clk
clocksource
connector
cpufreq
cpuidle
crypto
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
gpio
gpu
hid
hsi
hv
hwmon
hwspinlock
hwtracing drivers/hwtracing: make coresight-* explicitly non-modular 2016-02-20 14:11:01 -08:00
i2c
ide
idle
iio
infiniband
input
iommu
ipack
irqchip
isdn
leds
lguest
lightnvm
macintosh
mailbox
mcb
md
media
memory
memstick
message
mfd
misc Merge char-misc-next into staging-next 2016-02-22 14:46:24 -08:00
mmc
mtd
net
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
oprofile
parisc
parport
pci
pcmcia
perf
phy
pinctrl
platform Merge char-misc-next into staging-next 2016-02-22 14:46:24 -08:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi
sfi
sh
sn
soc
spi
spmi
ssb
staging staging: unisys: clean up initiate_chipset_device_pause_resume() 2016-02-25 22:40:52 -08:00
target
tc
thermal
thunderbolt
tty
uio
usb
uwb
vfio
vhost
video
virt
virtio
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile