]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio: core: Add optional symbolic label to a device channel
authorCristian Pop <cristian.pop@analog.com>
Mon, 28 Sep 2020 09:09:55 +0000 (12:09 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Nov 2020 16:07:39 +0000 (16:07 +0000)
commit1d4ef9b39ebecca827642b8897d2d79ea2026682
tree3c0259063f447a9346efe0c2695f3138b722c34c
parent397f45ed26c5dad70426ab372c250c8b903c996d
iio: core: Add optional symbolic label to a device channel

If a label is defined in the device tree for this channel add that
to the channel specific attributes. This is useful for userspace to
be able to identify an individual channel.

Signed-off-by: Cristian Pop <cristian.pop@analog.com>
Link: https://lore.kernel.org/r/20200928090959.88842-1-cristian.pop@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-core.c
include/linux/iio/iio.h