Kenji Kaneshige bd1d9855be PCI hotplug: fix get_##name return value problem
The commit 356a9d6f3dd283f83861adf1ac909879f0e66411 (PCI: fix hotplug
get_##name return value problem) doesn't seem to be merged properly.
Because of this, PCI hotplug no longer works (Read/Write PCI hotplug
files always returns -ENODEV).

This patch fixes wrong check of try_module_get() return value check in
get_##name().

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-10-20 11:01:50 -07:00
..
2008-06-10 14:37:03 -07:00
2008-06-10 14:37:03 -07:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00
2008-02-01 15:04:20 -08:00
2008-06-10 14:37:03 -07:00
2005-04-16 15:20:36 -07:00