From: Jiri Slaby Date: Tue, 2 Feb 2010 22:44:50 +0000 (-0800) Subject: video: backlight/progear, fix pci device refcounting X-Git-Tag: v2.6.34-rc2~25^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ebb780e194e8751dc22deeabcddd3fdc8f18f0;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Richard Purdie --- Reading git-diff-tree failed