diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-08-31 12:08:07 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 19:40:59 +0100 |
| commit | 938d1b3873fc2ceee4569042852e54d9deeb9ec1 (patch) | |
| tree | 236bfeeaca7b5aa9c6c43e8135c9b6a78b6f9f4b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | iio: accel: bma220: Fix returned codes from bma220_init(), bma220_deinit() (diff) | |
| download | linux-938d1b3873fc2ceee4569042852e54d9deeb9ec1.tar.gz linux-938d1b3873fc2ceee4569042852e54d9deeb9ec1.zip | |
iio: accel: bma220: Convert to use ->read_avail()
Convert to use ->read_avail() instead of open-coded attribute handling.
While here, fix the typo in array definition and append comma in case of
the future extension.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200831090813.78841-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
