From: Linus Walleij Date: Tue, 26 Nov 2013 11:59:51 +0000 (+0100) Subject: gpio: pl061: refactor type setting X-Git-Tag: v3.15-rc1~105^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=438a2c9a743b54f3e79b5e54dd4d0590da304017;p=pandora-kernel.git gpio: pl061: refactor type setting Refactor this function so that I can understand it, do one big read/modify/write operation and have the bitmask in a variable instead of recalculating it every time it's needed. Cc: Haojian Zhuang Cc: Deepak Sikri Acked-by: Baruch Siach Signed-off-by: Linus Walleij --- Reading git-diff-tree failed