]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: da9053: Fix compiler warning message for uninitialised variable
authorSteve Twiss <stwiss.opensource@diasemi.com>
Mon, 27 Jun 2016 15:06:36 +0000 (16:06 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 30 Jun 2016 06:44:23 +0000 (07:44 +0100)
commit4edbccb9796b706f4e8e74ed479384b4e2322026
tree1cacd1cfd7b79f7f94298efefedd7a4edf7ee13e
parente20674fa5d88b8c3ff4e1f701c8865211ac5b053
mfd: da9053: Fix compiler warning message for uninitialised variable

Fix compiler warning caused by an uninitialised variable inside
da9052_group_write() function. Defaulting the value to zero covers
the trivial case.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/da9052/da9052.h