Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd4abc2f authored by Axel Lin's avatar Axel Lin Committed by Kishon Vijay Abraham I
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 1cbdfc48
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -250,7 +250,6 @@ static const struct samsung_usb2_common_phy exynos4210_phys[] = {
		.power_on	= exynos4210_power_on,
		.power_off	= exynos4210_power_off,
	},
	{},
};

const struct samsung_usb2_phy_config exynos4210_usb2_phy_config = {
+0 −1
Original line number Diff line number Diff line
@@ -361,7 +361,6 @@ static const struct samsung_usb2_common_phy exynos4x12_phys[] = {
		.power_on	= exynos4x12_power_on,
		.power_off	= exynos4x12_power_off,
	},
	{},
};

const struct samsung_usb2_phy_config exynos3250_usb2_phy_config = {
+0 −1
Original line number Diff line number Diff line
@@ -391,7 +391,6 @@ static const struct samsung_usb2_common_phy exynos5250_phys[] = {
		.power_on	= exynos5250_power_on,
		.power_off	= exynos5250_power_off,
	},
	{},
};

const struct samsung_usb2_phy_config exynos5250_usb2_phy_config = {