thermal: qoriq: Simplify the 'site' variable assignment
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 28 Jul 2018 19:17:50 +0000 (16:17 -0300)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 20 Aug 2018 18:31:29 +0000 (11:31 -0700)
commit1a893a5a198eff228ddc1a364830f8928b8f9ac5
treed5ff3ed83286369576de1f560ad0eb7732c5c456
parentf1506a69e3e72196c7c5ce4fd420d5e1a6965ed3
thermal: qoriq: Simplify the 'site' variable assignment

There is no need to assign zero to the variable 'site' and then
perform a compound bitwise OR operation afterwards.

Make it simpler by assigning the final 'site' value directly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qoriq_thermal.c