summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPankaj Dabade <pdabade@nvidia.com>2015-06-24 15:06:43 +0530
committerMatthew Pedro <mapedro@nvidia.com>2015-07-14 11:19:58 -0700
commit153a5d54d1a10c5a35f6923e0c6423430d2c7c89 (patch)
treedfb6fa60985d634a0c477035246295fce0ca8cee
parentdacac96c7ad738ee811e62be4ea9e5af9b80e3e4 (diff)
backlight: pwm: Converting benign message to info
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>
-rw-r--r--drivers/video/backlight/pwm_bl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
index 29b55621b5f4..0f73b0f84c85 100644
--- a/drivers/video/backlight/pwm_bl.c
+++ b/drivers/video/backlight/pwm_bl.c
@@ -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)) {