Re: [PATCH v2 2/4] phy: exynos5: Remove duplicated defines of PHY register defines
From: Bartlomiej Zolnierkiewicz
Date: Tue Mar 14 2017 - 10:37:23 EST
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@xxxxxxxxxxx>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
> ---
> 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