diff options
author | Vandana BN <bnvandana@gmail.com> | 2019-04-29 21:30:45 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-30 15:00:31 +0200 |
commit | 601d6f0360986560cdf5779ddab36cd4d9e7062b (patch) | |
tree | 54d1219a5d8935a21e86e7203c057661d9b264e7 /drivers/iio/pressure | |
parent | staging: rtl8723bs: core: Remove blank line. (diff) | |
download | linux-dev-601d6f0360986560cdf5779ddab36cd4d9e7062b.tar.xz linux-dev-601d6f0360986560cdf5779ddab36cd4d9e7062b.zip |
staging: rtl8723bs: Fix checkpatch.pl warnings
This patch resolves coding style brace warning and constant on right warning.
WARNING: Comparisons should place the constant on the right side of the test
WARNING: braces {} are not necessary for single statement blocks
CHECK: Comparison to NULL could be written "!pbuf"
Signed-off-by: Vandana BN <bnvandana@gmail.com>
------
v2- Edited commit message and subject
v3- Edited commit message
v4- changed NULL check to use !pbuf
------
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions