From: Rafael J. Wysocki Date: Sat, 13 Jul 2013 21:27:25 +0000 (+0200) Subject: ACPI / hotplug / PCI: Drop handle field from struct acpiphp_func X-Git-Tag: v3.12-rc1~178^2~16^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a3bc573ae32a71bb9e307812d4de1bdcab6b9fb;p=pandora-kernel.git ACPI / hotplug / PCI: Drop handle field from struct acpiphp_func The ACPI handle stored in struct acpiphp_func is also stored in the struct acpiphp_context object containing it and it is trivial to get from a struct acpiphp_func pointer to the handle field of the outer struct acpiphp_context. Hence, the handle field of struct acpiphp_func is redundant, so drop it and provide a helper function, func_to_handle(), allowing it users to get the ACPI handle for the given struct acpiphp_func pointer. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed