From: Baruch Siach Date: Tue, 30 Jun 2009 18:41:38 +0000 (-0700) Subject: gpio: pl061: fix probe error handling code X-Git-Tag: v2.6.31-rc2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d7f4ee23d41571d9e4663521b5e6604c55729a;p=pandora-kernel.git gpio: pl061: fix probe error handling code Note that IRQ has not been initialized when kmalloc() fails. Also, use DECLARE_BITMAP() to make the code clearer. Signed-off-by: Baruch Siach Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed