diff options
| author | Rob Herring <robh@kernel.org> | 2015-03-02 15:30:58 -0600 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2015-03-09 14:41:12 +0100 |
| commit | 1e970b7d6d4fb3d715a34842ec00646f4b94bd72 (patch) | |
| tree | 72545b3bfd680ad2a00b7be78964cf174a780762 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | gpio: dwapb: re-enable GPIO_DWAPB for arm64 (diff) | |
| download | linux-1e970b7d6d4fb3d715a34842ec00646f4b94bd72.tar.gz linux-1e970b7d6d4fb3d715a34842ec00646f4b94bd72.zip | |
gpio: pxa: simplify BANK_OFF macro offset calculation
The macro BANK_OFF which calculates the base offset for each GPIO port.
The macro is needlessly complex and unreadable. Simplify the
calculation to a simple math operation.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: linux-gpio@vger.kernel.org
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
