pinctrl: at91: initialize config parameter to 0
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 7 Dec 2013 13:08:53 +0000 (14:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Dec 2013 14:43:36 +0000 (15:43 +0100)
commit1292e6936658af72c2e585ee8df0b478b4a8c28a
tree2884f2c714b198c0533984615d99846785029ff0
parentc2eb9e7f02118764969c49879c458c9462ccabdc
pinctrl: at91: initialize config parameter to 0

When passing a not initialized config parameter, at91_pinconf_get() would return
a bogus value. Fix that by initializing it to zero before using it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c