diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-10-05 10:42:59 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-04 18:01:59 +0100 |
commit | 445f798555e218a5601222ca5849e8553ddd866a (patch) | |
tree | 54437d660ae3a98b5480050e48f6ecf4051cb660 /drivers/pci/hotplug/shpchp_hpc.c | |
parent | PCI: pciehp: create files only for existing capabilities (diff) | |
download | linux-445f798555e218a5601222ca5849e8553ddd866a.tar.xz linux-445f798555e218a5601222ca5849e8553ddd866a.zip |
PCI: pciehp: return error on read/write failure
Current pciehp returns successfully on read/write failure with dummy
state values. It should return error instead.
With this patch, pciehp no longer uses hotplug_slot_info data
structure. So this also removes hotplug_slot_info related code. But
note that it still allocates hotplug_slot_info because it is required
by pci hotplug core.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_hpc.c')
0 files changed, 0 insertions, 0 deletions