[PATCH v3 03/10] firmware: samsung: acpm: Drop redundant _ops suffix in acpm_ops members

Lee Jones lee at kernel.org
Thu May 7 05:00:03 PDT 2026


On Mon, 20 Apr 2026, Tudor Ambarus wrote:

> Rename the `dvfs_ops` and `pmic_ops` members of `struct acpm_ops` to
> `dvfs` and `pmic` respectively.
> 
> Since these members are housed within the `acpm_ops` structure and
> utilize the `acpm_*_ops` types, the `_ops` suffix on the variable names
> creates unnecessary redundancy (e.g., `handle.ops.dvfs_ops`).
> 
> This cleanup removes the stuttering, leading to cleaner consumer code.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>
> ---
>  drivers/clk/samsung/clk-acpm.c                        | 8 ++++----
>  drivers/firmware/samsung/exynos-acpm.c                | 4 ++--
>  drivers/mfd/sec-acpm.c                                | 6 +++---

Acked-by: Lee Jones <lee at kernel.org>

>  include/linux/firmware/samsung/exynos-acpm-protocol.h | 4 ++--
>  4 files changed, 11 insertions(+), 11 deletions(-)

-- 
Lee Jones



More information about the linux-arm-kernel mailing list