diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-02-02 17:44:50 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-16 15:47:54 -0400 |
commit | a4ebb780e194e8751dc22deeabcddd3fdc8f18f0 (patch) | |
tree | 490cac976b02f53ac5596d66ba6adaffa2e698ba /drivers/power | |
parent | c3cf2e44d3bbc694eccef33b0f2fe8e2d89baae7 (diff) |
video: backlight/progear, fix pci device refcounting
Stanse found an ommitted pci_dev_puts on error path in progearbl_probe.
pmu_dev and sb_dev are gotten, but never put when
backlight_device_register fails.
So unify fail paths and put the devs when the failure occurs.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions