summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-02-07 19:08:59 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 23:46:59 +0300
commit6f71bf1991b6f04dc87a4f5b9d6823535f51a50d (patch)
treeb4565b2002801af77911b261e20429e60cc92c9a /scripts/const_structs.checkpatch
parentf3c52f01b4274239c1945aca1f27360b20b83f39 (diff)
downloadlinux-6f71bf1991b6f04dc87a4f5b9d6823535f51a50d.tar.xz
iio: core: Allow drivers to specify a label without it coming from of
Only set indio_dev->label from of/dt if there actually is a label specified in of. This allows drivers to set a label without this being overwritten with NULL when there is no label specified in of. This is esp. useful on devices where of is not used at all, such as your typical x86/ACPI device. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20210207160901.110643-2-hdegoede@redhat.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions