summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-04-23 17:34:02 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-02-02 01:40:59 +0200
commitfdb099675aed5f42214bfd42bf8ccf21e8a8a3e9 (patch)
tree6b4ae8294fc29b1871b0195dcf9147981fe6a726 /kernel/sysctl_binary.c
parent7bd288d0bf00531c520aa26ad0582ed52c266969 (diff)
msm: camera: Remove unnecessary parentheses in msm_cam_sensor_handle_reg_gpio
Clang warns: ../drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c:1356:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((gconf->gpio_num_info->valid[gpio_offset] == 1)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c:1356:48: note: remove extraneous parentheses around the comparison to silence this warning if ((gconf->gpio_num_info->valid[gpio_offset] == 1)) { ~ ^ ~ ../drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_dt_util.c:1356:48: note: use '=' to turn this equality comparison into an assignment if ((gconf->gpio_num_info->valid[gpio_offset] == 1)) { ^~ = 1 warning generated. Fixes: 92a558c15e80 ("msm: camera: Add support to enable eLDOs through GPIOs") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions