aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-05-25 18:54:47 +0200
committerGreg Kroah-Hartman <[email protected]>2018-06-01 11:17:05 +0200
commite84ff3a22cfbcbe59ca1f113f4f129068aea604f (patch)
tree19a67f8dceee874366603cbc4e80d2f9e003d6f2 /tools/perf/scripts/python/bin
parenta5a5b283a22922bd4b7110006eae11e3439f9d8b (diff)
staging: mt7621-gpio: rename MTK_MAX_BANK into MTK_BANK_CNT
There are 3 banks of gpios numbered '0' and '1' and '2'. So the maximum bank number is "2". "3" is the count of banks. In order to make the code looks and be correct on checking max allowed gpio's id it makes sense to change the name of this definition. Also there is another definitions which start with the same prefix MKK_BANK_ of the new name so having those with the same prefix makes all preprocessor structure to be the same. This improves readability. Signed-off-by: Sergio Paracuellos <[email protected]> Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions