Nathan Huckleberry 9aee371313 thermal: armada: Fix -Wshift-negative-value
Clang produces the following warning

drivers/thermal/armada_thermal.c:270:33: warning: shifting a negative
signed value is undefined [-Wshift-negative-value]
1 warning        reg &= ~CONTROL1_TSEN_AVG_MASK <<
CONTROL1_TSEN_AVG_SHIFT; generated
.
               ~~~~~~~~~~~~~~~~~~~~~~~ ^

CONTROL1_TSEN_AVG_SHIFT is defined to be zero.
Since shifting by zero does nothing this variable can be removed.

Cc: clang-built-linux@googlegroups.com
Link: https://github.com/ClangBuiltLinux/linux/issues/532
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2019-08-28 16:41:02 +08:00
..
2019-08-16 12:35:56 +02:00
2019-08-12 08:18:37 -06:00
2019-07-19 17:13:56 -07:00
2019-07-18 09:49:30 +02:00
2019-08-07 14:50:49 -07:00
2019-08-18 09:26:16 -07:00
2019-08-14 10:31:11 -07:00
2019-08-01 20:21:00 +02:00
2019-07-09 08:59:39 -07:00
2019-08-09 09:28:18 -07:00
2019-08-16 08:59:33 -07:00
2019-07-20 09:34:55 -07:00
2019-07-11 18:11:21 -07:00
2019-07-11 15:14:01 -07:00
2019-07-27 08:25:51 -07:00
2019-08-17 19:39:54 -07:00
2019-07-15 20:44:49 -07:00
2019-08-12 10:47:55 +02:00
2019-07-01 15:04:59 +02:00
2019-07-17 11:44:41 -07:00
2019-07-19 17:13:56 -07:00
2019-07-17 10:03:50 -07:00
2019-08-13 10:31:31 -07:00
2019-08-05 11:49:02 -07:00
2019-08-17 17:09:33 +02:00
2019-07-17 11:23:13 -07:00
2019-08-02 15:26:48 -07:00