]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
extcon: max77843: Fix signedness bug in max77843_muic_set_debounce_time()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 15 Mar 2015 10:49:47 +0000 (13:49 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Mar 2015 04:15:00 +0000 (13:15 +0900)
commitd927c59076f505a056e78a9fc9744069aa052cc8
tree79b9203ffc3db295708672be1663c731ec0013ec
parent34825e511971e193db16a96350faeb60eff0d842
extcon: max77843: Fix signedness bug in max77843_muic_set_debounce_time()

This patch fixes the variable type of 'ret' from 'unsigned int' to 'int' type
because the return type of regmap_update_bits() is 'int' type.

Fixes: 27a28d32b4f2 ('extcon: max77843: Add max77843 MUIC driver')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[cw00.choi: Fix the patch description]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-max77843.c