aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy/phy-exynos5250-usb2.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-02 20:08:43 -0500
committerKishon Vijay Abraham I <kishon@ti.com>2015-03-12 01:31:16 -0400
commitbd4abc2f96dd06c0085112240aed74c96538d6e7 (patch)
treef2ed4e1c860c11a721e5eebbfda38aa9f5332045 /drivers/phy/phy-exynos5250-usb2.c
parent1cbdfc48c3d4064e2515e4d837e714fd1aaa2d6e (diff)
phy: samsung-usb2: Remove NULL terminating entry from phys array
Current code uses num_phys settings to tell the number of entries in phys. Thus remove the NULL terminating entry from phys array which is not necessary. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-exynos5250-usb2.c')
-rw-r--r--drivers/phy/phy-exynos5250-usb2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/phy/phy-exynos5250-usb2.c b/drivers/phy/phy-exynos5250-usb2.c
index 1c139aa0d074..2ed1735a076a 100644
--- a/drivers/phy/phy-exynos5250-usb2.c
+++ b/drivers/phy/phy-exynos5250-usb2.c
@@ -391,7 +391,6 @@ static const struct samsung_usb2_common_phy exynos5250_phys[] = {
391 .power_on = exynos5250_power_on, 391 .power_on = exynos5250_power_on,
392 .power_off = exynos5250_power_off, 392 .power_off = exynos5250_power_off,
393 }, 393 },
394 {},
395}; 394};
396 395
397const struct samsung_usb2_phy_config exynos5250_usb2_phy_config = { 396const struct samsung_usb2_phy_config exynos5250_usb2_phy_config = {