linux/include
Heiner Kallweit ddbf7d5a69 [media] rc: core: add managed versions of rc_allocate_device and rc_register_device
Introduce managed versions of both functions.
They allows to simplify the error path in the probe function of
rc drivers, and usually also to simplify the remove function.

New element managed_alloc in struct rc_dev is needed to correctly
handle mixed use, e.g. managed version of rc_register_device and
normal version of rc_allocate_device.

In addition devm_rc_allocate_device sets rc->dev.parent as having a
reference to the parent device might be useful for future extensions.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-10-24 18:28:56 -02:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux This adds a new gcc plugin named "latent_entropy". It is designed to 2016-10-15 10:03:15 -07:00
math-emu
media [media] rc: core: add managed versions of rc_allocate_device and rc_register_device 2016-10-24 18:28:56 -02:00
memory
misc
net
pcmcia
ras
rdma
rxrpc
scsi
soc
sound
target
trace
uapi [media] videodev2.h Add HSV encoding 2016-10-21 15:52:04 -02:00
video
xen
Kbuild