Jiri Slaby a4ebb780e1 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>
2010-03-16 19:47:54 +00:00
..
2009-12-16 07:20:02 -08:00
2009-12-16 07:20:02 -08:00
2009-04-01 08:59:32 -07:00
2009-01-12 20:56:32 +01:00
2009-06-16 19:47:58 -07:00
2009-12-16 07:20:04 -08:00
2009-05-06 16:36:10 -07:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2009-01-06 15:59:27 -08:00
2010-03-12 15:52:34 -08:00
2010-03-12 15:52:34 -08:00
2009-01-06 15:59:27 -08:00
2010-02-09 11:13:56 +01:00
2009-04-01 08:59:31 -07:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00