commit | b652336d3fb70b95a5b0a5ea3a32e7116b15be29 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Fri Jun 09 13:41:28 2017 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Jun 20 09:18:55 2017 +0200 |
tree | 9eb90868ac9f4afe3b88e80fa33ec0e41361a178 | |
parent | b6c2e77d34ff775e4cf4ca803877dafd74737551 [diff] |
gpio: mockup: improve readability We currently shift bits here and there without actually explaining what we're doing. Add some helper variables with names indicating their purpose to improve the code readability. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>