diff options
author | Sam Shih <[email protected]> | 2019-09-20 06:49:03 +0800 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2019-09-25 09:48:58 +0200 |
commit | 61aa258ab1a50b834267f5df6cabef0d10f8955a (patch) | |
tree | 17f2a805e387121fc848152cc7f50dfb86868519 /lib/string_helpers.c | |
parent | e6c7c258f035ffec9d8a808c1bc34b6a5beae0ef (diff) |
pwm: mediatek: Remove the has_clks field
We can use fixed clocks to repair mt7628 PWM during configure from
userspace. The SoC is legacy MIPS and has no complex clock tree. Because
we can get the clock frequency for period calculation from fixed clocks
specified in DT, we can remove the has_clock field, and directly use
devm_clk_get() and clk_get_rate().
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Sam Shih <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions