From: Jesper Juhl Date: Sat, 2 Jul 2011 20:38:11 +0000 (+0200) Subject: mfd: Remove dead code from max8997-irq X-Git-Tag: v3.1-rc1~100^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7785bf11f312624101462d7dc840e27344899873;p=pandora-kernel.git mfd: Remove dead code from max8997-irq We either hit one of the case's or the default in the switch statement in get_i2c(), so the 'return ERR_PTR(-EINVAL);' at the end of the function is just dead code - remove it. Signed-off-by: Jesper Juhl Acked-by: MyungJoo Ham Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed