]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
pinctrl: a minor error checking improvement for pinconf
authorDong Aisheng <dong.aisheng@linaro.org>
Mon, 14 May 2012 11:06:36 +0000 (19:06 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 May 2012 07:43:18 +0000 (09:43 +0200)
commitc95df2db2cb5a147b42374f391858232517c0576
treeeacbb643afd225a991f538690462e9b6e7e52c81
parent4851680491f3629cd53b3a1283841deadd6db88c
pinctrl: a minor error checking improvement for pinconf

Also checking invalid num_configs when validate the pinconf map.

Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinconf.c