diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-02-02 23:44:50 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-16 20:47:54 +0100 |
commit | a4ebb780e194e8751dc22deeabcddd3fdc8f18f0 (patch) | |
tree | 490cac976b02f53ac5596d66ba6adaffa2e698ba /fs/cifs | |
parent | backlight: l4f00242t03: Fix module licence absence. (diff) | |
download | linux-a4ebb780e194e8751dc22deeabcddd3fdc8f18f0.tar.xz linux-a4ebb780e194e8751dc22deeabcddd3fdc8f18f0.zip |
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 'fs/cifs')
0 files changed, 0 insertions, 0 deletions