thermal/drivers/armada: Simplify name sanitization
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 20 Mar 2024 10:49:39 +0000 (11:49 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 23 Apr 2024 10:40:29 +0000 (12:40 +0200)
commit58b1569244fea51cbf675774fad9423359d76c57
tree7502e55df16997d6625628e6a908c9f09307040b
parentd9d3490c48df572edefc0b64655259eefdcbb9be
thermal/drivers/armada: Simplify name sanitization

Simplify the code by using the helper we have for doing exactly this.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240320104940.65031-1-linux@rasmusvillemoes.dk
drivers/thermal/armada_thermal.c