phy: ti: tusb1210: Drop tusb->vendor_specific2 != 0 check from tusb1210_power_on()
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Feb 2022 13:05:22 +0000 (14:05 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 25 Feb 2022 08:58:07 +0000 (14:28 +0530)
commitcb7d21b44f250a97660b904c43440f74e318aa82
tree6bd5858a36e29e93bcaf78bfe0bcd28827b0d2d4
parent09a3512681b359d7d18d1ff999831b0c63decdae
phy: ti: tusb1210: Drop tusb->vendor_specific2 != 0 check from tusb1210_power_on()

Since commit eb445a15fa69 ("phy: tusb1210: use bitmasks to set
VENDOR_SPECIFIC2") tusb->vendor_specific2 always contains a valid value
so there no need to check that it is set.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220213130524.18748-8-hdegoede@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-tusb1210.c