commit | a4ebb780e194e8751dc22deeabcddd3fdc8f18f0 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Tue Feb 02 14:44:50 2010 -0800 |
committer | Richard Purdie <rpurdie@linux.intel.com> | Tue Mar 16 19:47:54 2010 +0000 |
tree | 490cac976b02f53ac5596d66ba6adaffa2e698ba | |
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>