diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2018-05-20 15:00:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-25 18:49:32 +0200 |
commit | 8cf7c2f9df647489fadc1db53e8be8b4af80f5dd (patch) | |
tree | 1757ac574891d81447437441e000852d76434d5b /tools/perf/scripts/python | |
parent | b36dd3af48f65c0e498d62bb5e6c388b03f77608 (diff) |
staging: mt7621-gpio: use MTK_BANK_WIDTH instead of magic number
There are some places where magic number '32' is being used to get
the gpio bank. There already exist a definition MTK_BANK_WIDTH
with this value, so just use it instead.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions