diff options
| author | Rodrigo Alencar <rodrigo.alencar@analog.com> | 2026-07-29 09:25:33 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-09-23 02:53:56 +0100 |
| commit | 457dd51f3a3558fb60f6401dd1d33d5d449ea449 (patch) | |
| tree | b7a32590e8c6985bb8a073cc3c4a660de9c83617 /include/linux/asn1.h | |
| parent | 8267f6a0d6f74ed21167e58c36b8c5c0a62ef4d6 (diff) | |
iio: core: create local __iio_chan_prefix_emit() for reuse
Move logic to create a channel prefix for naming attribute files into a
separate __iio_chan_prefix_emit() function for reuse. The dev pointer is
passed to __iio_device_attr_init() so that dev_err() replaces WARN().
The new helper is going to be used to expose channel relationships as
sysfs attributes.
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'include/linux/asn1.h')
0 files changed, 0 insertions, 0 deletions
