aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMartin Blumenstingl <[email protected]>2018-09-23 00:21:02 +0200
committerJonathan Cameron <[email protected]>2018-09-29 12:26:08 +0100
commit057e5a1109faa01091a989c224833e2df6003b2e (patch)
tree590886af705035766c46d7ba9e924417620ad4b5 /tools/perf/scripts/python/bin/stackcollapse-record
parent234c64a290cb6ec79a2b1ac289a1713dc9f7890e (diff)
iio: adc: meson-saradc: simplify access to meson_sar_adc_param
Commit 053ffe3c8cfe31 ("iio: adc: meson-saradc: squash and share the common adc platform data") put all the data which is needed at runtime from struct meson_sar_adc_data to a new struct meson_sar_adc_param so we can re-use the platform specific configuration without having to duplicate everything just to change the name. The only place where struct meson_sar_adc_data is now needed is the _probe function which has to pass the name to the iio_dev. All other functions only need access to struct meson_sar_adc_param. This means we can simplify struct meson_sar_adc_priv. The goal of this patch is to make the code a bit easier to read since this removes one level of nesting. No functional changes intended. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions