]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/samsung_pwm: Constify passed structure
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 6 May 2021 20:27:26 +0000 (16:27 -0400)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 4 Jun 2021 08:12:11 +0000 (10:12 +0200)
commit7b11ab17de773b7ce9db00bcd1af54bf16aa2178
tree1e392fc457b42f8550044b63cc0eee3e8193fcf1
parent599a7e3dec9ffa753f5ff5970a7e1a73e3954785
clocksource/drivers/samsung_pwm: Constify passed structure

The 'struct samsung_pwm_variant' argument passed to initialization
functions is not modified, so it can be made const for safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210506202729.157260-2-krzysztof.kozlowski@canonical.com
drivers/clocksource/samsung_pwm_timer.c
include/clocksource/samsung_pwm.h