[PATCH v2 2/4] phy: exynos5: Remove duplicated defines of PHY register defines
Bartlomiej Zolnierkiewicz
b.zolnierkie at samsung.com
Tue Mar 14 07:37:03 PDT 2017
On Saturday, March 11, 2017 08:25:32 PM Krzysztof Kozlowski wrote:
> Phy drivers access PMU region through regmap provided by exynos-pmu
> driver. However there is no need to duplicate defines for PMU
> registers. Instead just use whatever is defined in exynos-regs-pmu.h.
>
> This reduces number of defines and allows removal of one header.
exynos5-pmu.h goes away in patch #4
> Suggested-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
> Acked-by: Lee Jones <lee.jones at linaro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
> ---
> drivers/phy/phy-exynos-dp-video.c | 1 +
> drivers/phy/phy-exynos5-usbdrd.c | 1 +
> include/linux/mfd/syscon/exynos5-pmu.h | 27 ---------------------------
> include/linux/soc/samsung/exynos-regs-pmu.h | 8 ++++++++
> 4 files changed, 10 insertions(+), 27 deletions(-)
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
More information about the linux-arm-kernel
mailing list