summaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2016-10-10 18:01:31 +0800
committerJonathan Cameron <jic23@kernel.org>2016-10-23 19:28:04 +0100
commit2296c0623eb741d4985b4fbd5c2c8e48a2795d2a (patch)
treea3dc1abf719a63d38442c3cfc8103d5535a952c4 /scripts/stackusage
parent6572389bcc1121b4e4112632e289a57a1136989d (diff)
downloadcachepc-linux-2296c0623eb741d4985b4fbd5c2c8e48a2795d2a.tar.gz
cachepc-linux-2296c0623eb741d4985b4fbd5c2c8e48a2795d2a.zip
staging: iio: cdc: ad7746: implement IIO_CHAN_INFO_SAMP_FREQ
This driver predates the availability of IIO_CHAN_INFO_SAMP_FREQ attribute wherein usage has some advantages like it can be accessed by in-kernel consumers as well as reduces the code size. Therefore, use IIO_CHAN_INFO_SAMP_FREQ to implement the sampling_frequency attribute instead of using IIO_DEVICE_ATTR() macro. Move code from the functions associated with IIO_DEVICE_ATTR() into respective read and write hooks with the mask set to IIO_CHAN_INFO_SAMP_FREQ. Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions