]> Git Repo - linux.git/blobdiff - drivers/pwm/pwm-tegra.c
selinux: Remove security_ops extern
[linux.git] / drivers / pwm / pwm-tegra.c
index 74298c561c4e57f303f675a13987f6b70ecb5dc4..61d86b9498caa8bb381dbe274e1c0c6e65ee755b 100644 (file)
@@ -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;
 
This page took 0.030288 seconds and 4 git commands to generate.