linux-stable-rt/drivers/misc
Julia Lawall 90d8dabf74 drivers/misc: Move misplaced pci_dev_put's
Move pci_dev_put outside the loops in which it occurs.  Within the loop,
pci_dev_put is done implicitly by pci_get_device.

The problem was detected using the following semantic patch, and corrected
by hand.

@@
expression dev;
expression E;
@@

- pci_dev_put(dev)
   ... when != dev = E
- pci_get_device(...,dev)

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-14 18:45:39 -08:00
..
hdpuftrs
ibmasm Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
Makefile Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2007-10-19 13:12:46 -07:00
asus-laptop.c
atmel-ssc.c
eeprom_93cx6.c
fujitsu-laptop.c fujitsu-laptop.c: remove dead code 2007-10-25 17:43:46 -04:00
ioc4.c drivers/misc: Move misplaced pci_dev_put's 2007-11-14 18:45:39 -08:00
lkdtm.c
msi-laptop.c
phantom.c
sony-laptop.c more UTF-8 conversions 2007-10-19 23:22:11 +02:00
thinkpad_acpi.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2007-10-19 13:12:46 -07:00
thinkpad_acpi.h Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2007-10-19 13:12:46 -07:00
tifm_7xx1.c
tifm_core.c