summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-09-26 23:18:42 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-02-02 01:41:00 +0200
commitf59da8d5184939b7e5e994be68cf6d1f3fb9ec2e (patch)
tree3d349925a48d032be5f4c695a1467019bb4edeb9 /kernel/sysctl_binary.c
parente888051ea71eea569dcfd0445bbd672585a39041 (diff)
regulator: qpnp-lcdb: Fix boolean check in qpnp_lcdb_init_bst
Clang warns: ../drivers/regulator/qpnp-lcdb-regulator.c:1675:17: warning: address of 'lcdb->bst.ps' will always evaluate to 'true' [-Wpointer-bool-conversion] &lcdb->bst.ps ? EN_PS_BIT : 0); ~~~~~~~~~~^~ ~ 1 warning generated. This matches msm-4.14. Fixes: 6da3d343b0e2 ("regulator: qpnp-lcdb: Add the QPNP LCDB regulator driver") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions