diff options
author | Wei Chen <[email protected]> | 2015-08-05 03:22:14 +0000 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-08-13 14:37:21 +0200 |
commit | 627b1516a390e19fb26b1c0c9bd2546722524965 (patch) | |
tree | fe510df1500b4a0edd7fff542c1ec37f58378128 /lib/mpi/mpiutil.c | |
parent | 39ce8150a079e3ae6ed9abf26d7918a558ef7c19 (diff) |
pinctrl: atlas7: clear ugly branch statements for pull and drivestrength
To set/get atlas7 pull & drive strength, we use lots of if/else
to check pad type. But except mask value or immediate value, all
actions in these conditional branches are the same.
So we use predefined pull info table and drive strength table
to reduce these redundancy code.
Signed-off-by: Wei Chen <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions