From: David Brownell Date: Tue, 30 Sep 2008 19:49:06 +0000 (-0700) Subject: twl4030 gpio cleanups X-Git-Tag: v2.6.27-omap1~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58e7072c8d59f6731a0ff8ccf186acb42948a60;p=pandora-kernel.git twl4030 gpio cleanups Clean up the twl4030-gpio code a bit ... mostly by shrinkage. Remove a bunch of macros that are just obfuscating what the TWL4030 GPIO code is doing. Some duplicated standard macros like BIT(); others hid trivial math (mask/shift); others were completely unused. Use BIT() in several places to highlight the bitmasking and make the code more compact. Remove pointless locking calls, sanity checks, and parenthesis. And needless irq_chip. Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed