commit | 9436abc40139503a7cea22a96437697d048f31c0 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Dec 11 22:38:18 2019 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Dec 29 15:20:08 2019 +0000 |
tree | 4863a3498d42bbe08d19907758cc7232da185311 | |
parent | c35aae7443023c08d406c9077c9e842b48cdb22f [diff] |
iio: accel: bma180: Use explicit member assignment This uses the C99 explicit .member assignment for the variant data in struct bma180_part_info. This makes it easier to understand and add new variants. Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>