aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorXiaofeng Yuan <xiaofengmian@163.com>2026-06-24 02:16:12 +0000
committerJonathan Cameron <jic23@kernel.org>2026-07-02 16:43:51 +0100
commit84635517785582f94993ed13eb7d370a76900878 (patch)
tree971a741deab8cbea7d8287f58ae9f9013cc6b314 /scripts/Makefile.thinlto
parentiio: adc: versal-sysmon: add oversampling support (diff)
staging: iio: frequency: reorder dds.h macro parameters to match IIO convention
The IIO subsystem convention requires that the file permission (_mode) parameter be the first argument of IIO_DEV_ATTR_* macros. The dds.h macros had _mode after _channel, causing checkpatch to misinterpret the channel number as a permission value. Reorder the parameters so _mode is first, matching the convention established by IIO_DEV_ATTR_SAMP_FREQ in include/linux/iio/sysfs.h. Where _mode is hard coded, make it a parameter in the interests of consistency and update all callers to match previously hard coded value. Update all callers in ad9834.c and ad9832.c accordingly. Compile tested. Signed-off-by: Xiaofeng Yuan <xiaofengmian@163.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions