max8997_charger: Fix unsigned value for less than zero
The 'val' is a 'unsigned char', so it is never less than zero. Signed-off-by: NJonghwan Choi <jhbird.choi@gmail.com> Acked-by: NMyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
Showing
想要评论请 注册 或 登录