diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-03-14 18:46:50 +0200 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2017-04-10 16:42:58 +0530 |
commit | 424c9841480f1761285748b08aa85ac774a30db1 (patch) | |
tree | 116fedb37c58dc8ef3b8c7f256233b83f35ed14e /drivers/phy/phy-exynos-dp-video.c | |
parent | 5812f0106c449533d0eea0b16a6244ec3d6d4abb (diff) | |
download | lwn-424c9841480f1761285748b08aa85ac774a30db1.tar.gz lwn-424c9841480f1761285748b08aa85ac774a30db1.zip |
phy: exynos5: Remove duplicated defines of PHY register defines
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.
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-exynos-dp-video.c')
-rw-r--r-- | drivers/phy/phy-exynos-dp-video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-exynos-dp-video.c b/drivers/phy/phy-exynos-dp-video.c index 34b06154e5d9..d72193188980 100644 --- a/drivers/phy/phy-exynos-dp-video.c +++ b/drivers/phy/phy-exynos-dp-video.c @@ -20,6 +20,7 @@ #include <linux/phy/phy.h> #include <linux/platform_device.h> #include <linux/regmap.h> +#include <linux/soc/samsung/exynos-regs-pmu.h> struct exynos_dp_video_phy_drvdata { u32 phy_ctrl_offset; |