gpio/langwell: Simplify demux loop
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Mar 2011 19:32:55 +0000 (19:32 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 17 Mar 2011 19:49:03 +0000 (13:49 -0600)
Use __ffs() to find the pending interrupt source instead of looping 32
times.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Feng Tang <feng.tang@intel.com>
Cc: Alek Du <alek.du@intel.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found