]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/phy/samsung/phy-exynos5-usbdrd.c
phy: exynos5: Remove duplicated defines of PHY register defines
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 14 Mar 2017 16:46:50 +0000 (18:46 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Apr 2017 11:12:58 +0000 (16:42 +0530)
commit424c9841480f1761285748b08aa85ac774a30db1
tree116fedb37c58dc8ef3b8c7f256233b83f35ed14e
parent5812f0106c449533d0eea0b16a6244ec3d6d4abb
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>
drivers/phy/phy-exynos-dp-video.c
drivers/phy/phy-exynos5-usbdrd.c
include/linux/mfd/syscon/exynos5-pmu.h
include/linux/soc/samsung/exynos-regs-pmu.h