summaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-exynos5-usbdrd.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2017-03-14 18:46:50 +0200
committerKishon Vijay Abraham I <kishon@ti.com>2017-04-10 16:42:58 +0530
commit424c9841480f1761285748b08aa85ac774a30db1 (patch)
tree116fedb37c58dc8ef3b8c7f256233b83f35ed14e /drivers/phy/phy-exynos5-usbdrd.c
parent5812f0106c449533d0eea0b16a6244ec3d6d4abb (diff)
downloadblackbird-obmc-linux-424c9841480f1761285748b08aa85ac774a30db1.tar.gz
blackbird-obmc-linux-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-exynos5-usbdrd.c')
-rw-r--r--drivers/phy/phy-exynos5-usbdrd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/phy-exynos5-usbdrd.c b/drivers/phy/phy-exynos5-usbdrd.c
index 07ed608905ac..7c896d0cda18 100644
--- a/drivers/phy/phy-exynos5-usbdrd.c
+++ b/drivers/phy/phy-exynos5-usbdrd.c
@@ -25,6 +25,7 @@
#include <linux/mfd/syscon/exynos5-pmu.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
+#include <linux/soc/samsung/exynos-regs-pmu.h>
/* Exynos USB PHY registers */
#define EXYNOS5_FSEL_9MHZ6 0x0
OpenPOWER on IntegriCloud