iio: ak8975: improve code readability
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 21 Feb 2019 17:02:55 +0000 (18:02 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:48 +0000 (20:19 +0100)
commit67b9d4d0985f7041fa59252a78b2bdb7ae5b46b0
tree3e194627325d426ee0b0beb82861a7e998de8f08
parent28799ceac014a1a349e0371f5dec136bccf72fb7
iio: ak8975: improve code readability

- use temporary variable in get_mount_matrix()
- remove , after { }

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/ak8975.c