commit | 438a2c9a743b54f3e79b5e54dd4d0590da304017 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Nov 26 12:59:51 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Feb 03 09:11:58 2014 +0100 |
tree | 6ede9b06b6a521b3fff485162c951e9a9d5b5c7f | |
parent | f6f293112e3d747e5d39ff0d12793909c3946035 [diff] |
gpio: pl061: refactor type setting Refactor this function so that I can understand it, do one big read/modify/write operation and have the bitmask in a variable instead of recalculating it every time it's needed. Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Deepak Sikri <deepak.sikri@st.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>