backlight: generic_bl: fix checkpatch warning
[~shefty/rdma-dev.git] / drivers / video / backlight / generic_bl.c
index 8c660fcd250da09f446e07f9e0dfce3b5677a128..0ae155be9c89ad43685e2303bce941c6954273e1 100644 (file)
@@ -97,8 +97,8 @@ static int genericbl_probe(struct platform_device *pdev)
        props.max_brightness = machinfo->max_intensity;
        bd = backlight_device_register(name, &pdev->dev, NULL, &genericbl_ops,
                                       &props);
-       if (IS_ERR (bd))
-               return PTR_ERR (bd);
+       if (IS_ERR(bd))
+               return PTR_ERR(bd);
 
        platform_set_drvdata(pdev, bd);