summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-img.c
diff options
context:
space:
mode:
authorJiangshan Yi <yijiangshan@kylinos.cn>2022-07-13 11:20:47 +0800
committerJiri Kosina <jkosina@suse.cz>2022-08-25 11:29:58 +0200
commit486da113c698a748bd8d75a0d10a2eee8ef8d416 (patch)
treefc23463886d36def71d300046b7206d5a4138267 /drivers/pwm/pwm-img.c
parent8d9420ca9bd9bceddcfab3d0263d6a8e073396fe (diff)
HID: rmi: replace ternary operator with min()
Fix the following coccicheck warning: drivers/hid/hid-rmi.c:240: WARNING opportunity for min(). drivers/hid/hid-rmi.c:350: WARNING opportunity for min(). min() macro is defined in include/linux/minmax.h. It avoids multiple evaluations of the arguments when non-constant and performs strict type-checking. Signed-off-by: Jiangshan Yi <yijiangshan@kylinos.cn> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/pwm/pwm-img.c')
0 files changed, 0 insertions, 0 deletions