Loading drivers/pwm/pwm-tiecap.c +1 −3 Original line number Diff line number Diff line Loading @@ -209,10 +209,8 @@ static int ecap_pwm_probe(struct platform_device *pdev) u16 status; pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); if (!pc) { dev_err(&pdev->dev, "failed to allocate memory\n"); if (!pc) return -ENOMEM; } clk = devm_clk_get(&pdev->dev, "fck"); if (IS_ERR(clk)) { Loading Loading
drivers/pwm/pwm-tiecap.c +1 −3 Original line number Diff line number Diff line Loading @@ -209,10 +209,8 @@ static int ecap_pwm_probe(struct platform_device *pdev) u16 status; pc = devm_kzalloc(&pdev->dev, sizeof(*pc), GFP_KERNEL); if (!pc) { dev_err(&pdev->dev, "failed to allocate memory\n"); if (!pc) return -ENOMEM; } clk = devm_clk_get(&pdev->dev, "fck"); if (IS_ERR(clk)) { Loading