summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-02-03 01:44:50 +0300
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-16 22:47:54 +0300
commita4ebb780e194e8751dc22deeabcddd3fdc8f18f0 (patch)
tree490cac976b02f53ac5596d66ba6adaffa2e698ba /include/linux
parentc3cf2e44d3bbc694eccef33b0f2fe8e2d89baae7 (diff)
downloadlinux-a4ebb780e194e8751dc22deeabcddd3fdc8f18f0.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions