linux/include
Alexandru Ardelean f5d017938e iio: core: add iio_device_set_parent() helper
By default, the device allocation will also assign a parent device to the
IIO device object. In cases where devm_iio_device_alloc() is used,
sometimes the parent device must be different than the device used to
manage the allocation.

In that case, this helper should be used to change the parent, hence the
requirement to call this between allocation & registration.

This pattern/requirement is not very common in the IIO space, and it may be
cleaned up later.
But until then, assigning the parent manually between allocation &
registration is slightly easier.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2020-06-14 11:49:57 +01:00
..
acpi Merge branch 'acpica' 2020-06-10 17:27:28 +02:00
asm-generic Rebase locking/kcsan to locking/urgent 2020-06-11 20:02:46 +02:00
clocksource
crypto
drm drm: remove drm specific kmap_atomic code 2020-06-04 19:06:22 -07:00
dt-bindings iio: adc: Add PMIC7 ADC bindings 2020-06-14 11:49:18 +01:00
keys keys: Implement update for the big_key type 2020-06-02 17:22:31 +01:00
kunit
kvm
linux iio: core: add iio_device_set_parent() helper 2020-06-14 11:49:57 +01:00
math-emu
media media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
misc
net Merge branch 'work.sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-06-10 16:05:54 -07:00
pcmcia
ras
rdma dynamic_debug: add an option to enable dynamic debug for modules only 2020-06-08 11:05:56 -07:00
scsi SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
soc pci-v5.8-changes 2020-06-06 11:01:58 -07:00
sound ASoC: Updates for v5.8 2020-06-01 20:26:07 +02:00
target
trace block-5.8-2020-06-11 2020-06-11 16:07:33 -07:00
uapi virtio: features, fixes 2020-06-10 13:42:09 -07:00
vdso
video
xen mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00