linux_dsm_epyc7002/drivers
Chen-Yu Tsai 7c9806e825 simplefb: Disable and release clocks and regulators in destroy callback
simplefb gets unregister when a proper framebuffer driver comes in and
kicks it out. However the claimed clocks and regulators stay enabled
as they are only released in the platform device remove function, which
in theory would never get called.

Move the clock/regulator cleanup into the framebuffer destroy callback,
which gets called as part of the framebuffer unregister process.

Note this introduces asymmetry in how the resources are claimed and
released.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-27 11:21:36 +03:00
..
accessibility
acpi More ACPI updates for v4.8-rc1 2016-08-05 23:29:05 -04:00
amba
android
ata
atm
auxdisplay
base More power management updates for v4.8-rc1 2016-08-05 23:26:16 -04:00
bcma
block block: rename bio bi_rw to bi_opf 2016-08-07 14:41:02 -06:00
bluetooth
bus
cdrom
char RTC for 4.8 2016-08-05 09:48:22 -04:00
clk
clocksource
connector
cpufreq More power management updates for v4.8-rc1 2016-08-05 23:26:16 -04:00
cpuidle
crypto
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fmc
fpga
gpio
gpu Merge tag 'drm-for-v4.8-zpos' of git://people.freedesktop.org/~airlied/linux 2016-08-07 16:35:08 -07:00
hid
hsi
hv
hwmon
hwspinlock
hwtracing
i2c
ide
idle
iio
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2016-08-05 23:24:15 -04:00
iommu
ipack
irqchip
isdn
leds
lguest
lightnvm
macintosh
mailbox
mcb
md block: rename bio bi_rw to bi_opf 2016-08-07 14:41:02 -06:00
media
memory
memstick
message
mfd
misc virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00
mmc
mtd
net virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00
nfc
ntb NTB: ntb_hw_intel: use local variable pdev 2016-08-05 10:34:13 -04:00
nubus
nvdimm block: rename bio bi_rw to bi_opf 2016-08-07 14:41:02 -06:00
nvme
nvmem
of ramoops: use DT reserved-memory bindings 2016-08-05 11:21:36 -07:00
oprofile
parisc
parport
pci ACPI / hotplug / PCI: Runtime resume bridges before bus rescans 2016-08-04 21:33:58 -04:00
pcmcia
perf
phy
pinctrl
platform pwm: Changes for v4.8-rc1 2016-08-06 00:01:33 -04:00
pnp
power
powercap
pps
ps3
ptp
pwm pwm: Changes for v4.8-rc1 2016-08-06 00:01:33 -04:00
rapidio
ras
regulator pwm: Changes for v4.8-rc1 2016-08-06 00:01:33 -04:00
remoteproc
reset
rpmsg
rtc RTC for 4.8 2016-08-05 09:48:22 -04:00
s390
sbus
scsi SCSI misc on 20160805 2016-08-05 23:47:27 -04:00
sfi
sh
sn
soc
spi
spmi
ssb
staging Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-08-07 10:01:14 -04:00
target target: iblock_execute_sync_cache() should use bio_set_op_attrs() 2016-08-07 14:41:02 -06:00
tc
thermal
thunderbolt
tty
uio
usb More USB patches for 4.8-rc1 2016-08-05 23:07:43 -04:00
uwb
vfio
vhost virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00
video simplefb: Disable and release clocks and regulators in destroy callback 2016-09-27 11:21:36 +03:00
virt
virtio virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile virtio/vhost: new features for 4.8 2016-08-06 09:20:13 -04:00