backlight: pwm: Converting benign message to info
Pankaj Dabade [Wed, 24 Jun 2015 09:36:43 +0000 (14:36 +0530)]
Making message "unable to request PWM, trying legacy API".
However, failure with legacy API will be treated as error.

Bug 200113810

Change-Id: Ie7bae0c62837a4fde89706d1b9600600c2a49651
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/761732
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

drivers/video/backlight/pwm_bl.c

index 29b5562..0f73b0f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * linux/drivers/video/backlight/pwm_bl.c
  *
- * Copyright (c) 2013, NVIDIA CORPORATION, All rights reserved.
+ * Copyright (c) 2013-2015, NVIDIA CORPORATION, All rights reserved.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -233,7 +233,7 @@ static int pwm_backlight_probe(struct platform_device *pdev)
 
        pb->pwm = devm_pwm_get(&pdev->dev, NULL);
        if (IS_ERR(pb->pwm)) {
-               dev_err(&pdev->dev, "unable to request PWM, trying legacy API\n");
+               dev_info(&pdev->dev, "unable to request PWM, trying legacy API\n");
 
                pb->pwm = pwm_request(data->pwm_id, "pwm-backlight");
                if (IS_ERR(pb->pwm)) {