diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-11-18 16:27:57 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-25 14:03:59 +0000 |
commit | 8611b69e95464da1458c1430c64b147b0f51058a (patch) | |
tree | 4bb96456ca61a7cabc52f1cadab209d9043acc67 /drivers/iio/common/hid-sensors | |
parent | 49ad8d289284b28fcac73a04838bf8eb39fd058d (diff) | |
download | linux-stable-8611b69e95464da1458c1430c64b147b0f51058a.tar.gz linux-stable-8611b69e95464da1458c1430c64b147b0f51058a.tar.bz2 linux-stable-8611b69e95464da1458c1430c64b147b0f51058a.zip |
iio: hid-sensor-hub: clean up indentation, remove extraneous tab
The statement is indented too much by one level, fix this by
removing the extraneous tab.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/common/hid-sensors')
-rw-r--r-- | drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c index ed3849d6fc6a..b2143d7b4ccb 100644 --- a/drivers/iio/common/hid-sensors/hid-sensor-attributes.c +++ b/drivers/iio/common/hid-sensors/hid-sensor-attributes.c @@ -336,7 +336,7 @@ static void adjust_exponent_nano(int *val0, int *val1, int scale0, scale1 = scale1 % pow_10(8 - i); } *val0 += res; - *val1 = scale1 * pow_10(exp); + *val1 = scale1 * pow_10(exp); } else if (exp < 0) { exp = abs(exp); if (exp > 9) { |