phy: rockchip-inno-usb2: Clean up some inconsistent indenting
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 21 Apr 2022 20:30:38 +0000 (04:30 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 2 May 2022 07:02:07 +0000 (12:32 +0530)
Eliminate the follow smatch warning:

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220421203038.4550-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c

index e377b95..6711659 100644 (file)
@@ -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")) {