projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9905a43
)
backlight: PTR_ERR return of wrong pointer in cr_backlight_probe()
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 7 Dec 2009 13:35:32 +0000
(14:35 +0100)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Thu, 17 Dec 2009 11:19:07 +0000
(11:19 +0000)
Return the PTR_ERR of the correct pointer.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/cr_bllcd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/backlight/cr_bllcd.c
b/drivers/video/backlight/cr_bllcd.c
index 2914bf104adf145f5e3a08bc430739ff0c3f1f70..da86db4374a05a350084b2f06834d489e773f4ba 100644
(file)
--- a/
drivers/video/backlight/cr_bllcd.c
+++ b/
drivers/video/backlight/cr_bllcd.c
@@
-201,7
+201,7
@@
static int cr_backlight_probe(struct platform_device *pdev)
if (IS_ERR(ldp)) {
backlight_device_unregister(bdp);
pci_dev_put(lpc_dev);
- return PTR_ERR(
b
dp);
+ return PTR_ERR(
l
dp);
}
pci_read_config_dword(lpc_dev, CRVML_REG_GPIOBAR,