Skip to content

Commit

Permalink
phy: rockchip-inno-usb2: Clean up some inconsistent indenting
Browse files Browse the repository at this point in the history
Eliminate the follow smatch warning:

drivers/phy/rockchip/phy-rockchip-inno-usb2.c:1203
rockchip_usb2phy_probe() warn: inconsistent indenting.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
Jiapeng Chong authored and vinodkoul committed May 2, 2022
1 parent f7f9abc commit 302a20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/phy/rockchip/phy-rockchip-inno-usb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1200,8 +1200,8 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev)

else {
rphy->grf = syscon_node_to_regmap(dev->parent->of_node);
if (IS_ERR(rphy->grf))
return PTR_ERR(rphy->grf);
if (IS_ERR(rphy->grf))
return PTR_ERR(rphy->grf);
}

if (of_device_is_compatible(np, "rockchip,rv1108-usb2phy")) {
Expand Down

0 comments on commit 302a20c

Please sign in to comment.