phy: exynos-mipi-video: Use consistent method to address phy registers
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 14 Mar 2017 16:46:51 +0000 (18:46 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Apr 2017 11:13:05 +0000 (16:43 +0530)
commitcf09ee599714e630ea610ff4c4fd8c71e2b1f616
tree2d04c3c104945c9a157523ad512c3a2844e585ac
parent424c9841480f1761285748b08aa85ac774a30db1
phy: exynos-mipi-video: Use consistent method to address phy registers

Exynos4 MIPI phy registers are defined with macro calculating the offset
for given phyN.  Use the same method for Exynos5420 to be consistent.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-exynos-mipi-video.c
include/linux/soc/samsung/exynos-regs-pmu.h