ARM: qcom: silence an uninitialized variable warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Apr 2016 06:45:11 +0000 (09:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 May 2016 21:20:04 +0000 (14:20 -0700)
commit66b58edf592fd7a6fc0f106e0809e52b52d4722f
tree5b8ab64cccc244fa4e4b78429d95e499d202577c
parent309124e2648d668a0c23539c5078815660a4a850
ARM: qcom: silence an uninitialized variable warning

It's harmless but, if "enable" isn't set, then we pass uninitialized
values to qcom_coincell_chgr_config().  The values aren't used, but
let's silence the warning anyway.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tim Bird <tim.bird@sonymobile.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/qcom-coincell.c