commit | 888295597e07e266dd6fa9d1029af015dc40c67b | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Mon Jun 18 11:36:16 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 28 21:50:58 2018 +0900 |
tree | aac490be927522c287e08a2dddb157b15af39f68 | |
parent | e4550f6e9a134ab5e32a7b0c0baeab5586b37692 [diff] |
staging: mt7621-gpio: avoid one level indentation in interrupt handler There is no need to check for 'pending' before loop over the interrupts using 'for_each_set_bit' if nothing is set the return values will be the same so just avoid this check avoiding also one level intentation and improving readability. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>