thermal: rcar_gen3_thermal: remove unneeded mutex
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 29 Mar 2017 18:43:51 +0000 (20:43 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 31 Mar 2017 04:40:46 +0000 (21:40 -0700)
commit100cfbcf2580b0605f50af32fefd9c8d1d8357fb
tree393adceb159164d023c8ddb930bdef5201c1841e
parent78aefd2d5911c4e0b5dc0b0578b3b8c7673be1d2
thermal: rcar_gen3_thermal: remove unneeded mutex

There is no point in protecting a register read with a lock. This is
most likely a leftover from when the driver was reworked before being
submitted for upstream.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_gen3_thermal.c