Unverified Commit 31a89d29 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: sy7636a: Make regulator_desc static const



It's only used in this file and never changed, make it static const.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarAlistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20210616034458.3499522-2-axel.lin@ingics.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 686f6b31
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ static const struct regulator_ops sy7636a_vcom_volt_ops = {
	.get_status = sy7636a_get_status,
};

struct regulator_desc desc = {
static const struct regulator_desc desc = {
	.name = "vcom",
	.id = 0,
	.ops = &sy7636a_vcom_volt_ops,