Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308950
b: refs/heads/master
c: c353973
h: refs/heads/master
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed May 29, 2012
1 parent 0dda370 commit 74dd616
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 95e93132e4df461b6344256ae7f16d3c28a4c0f3
refs/heads/master: c3539731c22bea311c49c4df97887800c91cca83
6 changes: 4 additions & 2 deletions trunk/drivers/video/backlight/progear_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
Expand Down Expand Up @@ -68,13 +70,13 @@ static int progearbl_probe(struct platform_device *pdev)

pmu_dev = pci_get_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, NULL);
if (!pmu_dev) {
printk("ALI M7101 PMU not found.\n");
pr_err("ALI M7101 PMU not found.\n");
return -ENODEV;
}

sb_dev = pci_get_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL);
if (!sb_dev) {
printk("ALI 1533 SB not found.\n");
pr_err("ALI 1533 SB not found.\n");
ret = -ENODEV;
goto put_pmu;
}
Expand Down

0 comments on commit 74dd616

Please sign in to comment.