OSDN Git Service

thermal: rcar_gen3_thermal: Remove unneeded curly brackets
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 12 Feb 2020 22:47:32 +0000 (23:47 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 12 Mar 2020 10:40:57 +0000 (11:40 +0100)
commitd543c8424c116549c4322ff0341e388452aca0ea
tree349af3e26e130f572e4efc71678b2ba877786136
parent2f8caa9f8f3254cd4527ec6a71428107623b3fa8
thermal: rcar_gen3_thermal: Remove unneeded curly brackets

When devm_add_action() was turned into devm_add_action_or_reset() the
curly brackets for the error case where kept but are not needed, remove
them to match the style of the driver.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200212224732.736785-1-niklas.soderlund+renesas@ragnatech.se
drivers/thermal/rcar_gen3_thermal.c