Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4a91c45e authored by Dan Carpenter's avatar Dan Carpenter Committed by Jacek Anaszewski
Browse files

leds: tca6507: silence an uninitialized variable warning



If choose_times() returns -EINVAL that means "c1" and "c2" haven't been
initialized.  I've added a check for that.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJacek Anaszewski <j.anaszewski@samsung.com>
parent fea728c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment