summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-05-20 11:23:59 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-21 11:48:38 +0200
commit024d75696ffea45df9f5a549f623412ad1d9127f (patch)
tree4c3a2ad91c601097e55a499507d4addd6f83ab7e /drivers/usb
parenta10886302c9bb548b6f94d47b77c243bfe164642 (diff)
downloadbarebox-024d75696ffea45df9f5a549f623412ad1d9127f.tar.gz
barebox-024d75696ffea45df9f5a549f623412ad1d9127f.tar.xz
usb: imx-usb-phy: Wrap lines to silence checkpatch
Those two line are the only thing that checkpatch is complaining about. Wrap them to slince it. No functional change intended. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/imx/imx-usb-phy.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/usb/imx/imx-usb-phy.c b/drivers/usb/imx/imx-usb-phy.c
index df7e192d3a..01bf04b672 100644
--- a/drivers/usb/imx/imx-usb-phy.c
+++ b/drivers/usb/imx/imx-usb-phy.c
@@ -72,7 +72,8 @@ static int imx_usbphy_phy_init(struct phy *phy)
static int imx_usbphy_notify_connect(struct usb_phy *phy,
enum usb_device_speed speed)
{
- struct imx_usbphy *imxphy = container_of(phy, struct imx_usbphy, usb_phy);
+ struct imx_usbphy *imxphy = container_of(phy, struct imx_usbphy,
+ usb_phy);
if (speed == USB_SPEED_HIGH) {
writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
@@ -85,7 +86,8 @@ static int imx_usbphy_notify_connect(struct usb_phy *phy,
static int imx_usbphy_notify_disconnect(struct usb_phy *phy,
enum usb_device_speed speed)
{
- struct imx_usbphy *imxphy = container_of(phy, struct imx_usbphy, usb_phy);
+ struct imx_usbphy *imxphy = container_of(phy, struct imx_usbphy,
+ usb_phy);
writel(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
imxphy->base + HW_USBPHY_CTRL_CLR);