commit | 82ba0d8ba48df5442ff31ee6f62b594f062bc162 | [log] [tgz] |
---|---|---|
author | Rui Teng <rui.teng@linux.vnet.ibm.com> | Tue Apr 26 09:45:13 2016 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Apr 29 13:59:00 2016 -0700 |
tree | 43097efd729bc829a33fa8c7170be52d3513b6e9 | |
parent | 9e4cc255e6e18418ddbeea447efa506bb43d57a2 [diff] |
Input: twl4030 - fix unsafe macro definition The bitwise shift operator has lower priority than plus operator. So the values on macros should be enclosed in parentheses. For example, "(1 << 4 + 1)" means "(1 << (4 + 1))", but it is not expected by the macros. And also fix other two coding style problems reported by scripts/checkpatch.pl. Signed-off-by: Rui Teng <rui.teng@linux.vnet.ibm.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>