hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/pwm/pwm-zx.c
....@@ -1,10 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2017 Sanechips Technology Co., Ltd.
34 * Copyright 2017 Linaro Ltd.
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License version 2 as
7
- * published by the Free Software Foundation.
85 */
96
107 #include <linux/clk.h>
....@@ -151,7 +148,7 @@
151148 }
152149
153150 static int zx_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
154
- struct pwm_state *state)
151
+ const struct pwm_state *state)
155152 {
156153 struct zx_pwm_chip *zpc = to_zx_pwm_chip(chip);
157154 struct pwm_state cstate;