Searched hist:"4 af6bc163c4d841cf60bc9bf6e98603a232889b6" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/pmdomain/ |
H A D | core.c | diff 4af6bc163c4d841cf60bc9bf6e98603a232889b6 Thu Feb 08 21:28:22 CET 2024 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> pmdomain: core: constify of_phandle_args in add device and subdomain
Pointer to of_phandle_args is not modified by of_genpd_add_device() and of_genpd_add_subdomain(), so it can be made pointer to const for code safety and readability.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240208202822.631449-2-krzysztof.kozlowski@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|
/linux/include/linux/ |
H A D | pm_domain.h | diff 4af6bc163c4d841cf60bc9bf6e98603a232889b6 Thu Feb 08 21:28:22 CET 2024 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> pmdomain: core: constify of_phandle_args in add device and subdomain
Pointer to of_phandle_args is not modified by of_genpd_add_device() and of_genpd_add_subdomain(), so it can be made pointer to const for code safety and readability.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240208202822.631449-2-krzysztof.kozlowski@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
|