From: Linus Walleij Date: Tue, 8 Jul 2014 07:22:10 +0000 (+0200) Subject: gpio: vr41xx: fix up errorpath on probe() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~114^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=246a144eed4093befc58e00cf3ba55e647977420;p=pandora-kernel.git gpio: vr41xx: fix up errorpath on probe() The driver was not checking the return value from gpiochip_add() properly, so add a bail-out check. Reported-by: Rickard Strandqvist Signed-off-by: Linus Walleij --- Reading git-diff-tree failed