From: Rafael J. Wysocki Date: Sat, 13 Jul 2013 21:27:25 +0000 (+0200) Subject: ACPI / hotplug / PCI: Drop sun field from struct acpiphp_slot X-Git-Tag: v3.12-rc1~178^2~16^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7342798d0ab850a630877a362bc5a4f033100f37;p=pandora-kernel.git ACPI / hotplug / PCI: Drop sun field from struct acpiphp_slot If the slot unique number is passed as an additional argument to acpiphp_register_hotplug_slot(), the 'sun' field in struct acpiphp_slot is only used by ibm_[s|g]et_attention_status(), but then it's more efficient to store it in struct slot. Thus move the 'sun' field from struct acpiphp_slot to struct slot changing its data type to unsigned int in the process, and redefine acpiphp_register_hotplug_slot() to take the slot number as separate argument. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed