]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
iio:potentiostat:lmp91000: invert if statement
authorAnderson Reis <andersonreisrosa@gmail.com>
Fri, 8 Mar 2019 19:46:54 +0000 (16:46 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:55 +0000 (20:19 +0100)
commitb11a89d5d2493f440b6c718bbcd7dbb0733b02b5
tree16a74ff267a1e9e5a7b78f84033202a42c4012c4
parentcd4779f120c1acc5448b803c8d9374d0dc064996
iio:potentiostat:lmp91000: invert if statement

Invert if statement arms in line 214, in order to make the code cleaner,
solve these checkpatch.pl CHECKs:

- lmp9100.c:214: CHECK: braces {} should be used on all arms of this statement
- lmp9100.c:216: CHECK: Unbalanced braces around else statement

Signed-off-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Anderson Reis <andersonreisrosa@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiostat/lmp91000.c