commit | 938d1b3873fc2ceee4569042852e54d9deeb9ec1 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Aug 31 12:08:07 2020 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Sep 03 19:40:59 2020 +0100 |
tree | 236bfeeaca7b5aa9c6c43e8135c9b6a78b6f9f4b | |
parent | 5265b267e303ed07d922e0c353feec1fef1805cc [diff] |
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>