Loading drivers/pwm/pwm-tegra.c +1 −3 Original line number Diff line number Diff line Loading @@ -173,10 +173,8 @@ static int tegra_pwm_probe(struct platform_device *pdev) int ret; pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL); if (!pwm) { dev_err(&pdev->dev, "failed to allocate memory\n"); if (!pwm) return -ENOMEM; } pwm->dev = &pdev->dev; Loading Loading
drivers/pwm/pwm-tegra.c +1 −3 Original line number Diff line number Diff line Loading @@ -173,10 +173,8 @@ static int tegra_pwm_probe(struct platform_device *pdev) int ret; pwm = devm_kzalloc(&pdev->dev, sizeof(*pwm), GFP_KERNEL); if (!pwm) { dev_err(&pdev->dev, "failed to allocate memory\n"); if (!pwm) return -ENOMEM; } pwm->dev = &pdev->dev; Loading