summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2021-06-18 13:30:04 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-07-19 09:51:59 +0100
commit0e0761f86f10253425edac56df9950c172b923ea (patch)
tree4aba4800d82fb01f5714be966c860d23123d2175 /drivers/iio/proximity
parente46a36d92da0ded4e8519bc46912edc0d5a9f4a7 (diff)
iio: core: Forbid use of both labels and extended names
Extended names are a problem for user-space as they make the filenames in sysfs sometimes not parsable. They are now deprecated in favor of labels. This change makes sure that a device driver won't provide both labels and extended names for its channels. It has never been the case and we don't want it to happen. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/20210618123005.49867-2-paul@crapouillou.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity')
0 files changed, 0 insertions, 0 deletions