From: Rafael J. Wysocki Date: Tue, 15 Jul 2014 20:03:22 +0000 (+0200) Subject: ACPI / hotplug: Simplify acpi_set_hp_context() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~9^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba574dc8563c7c1d1d1c5bf3c1c99ec88513402e;p=pandora-kernel.git ACPI / hotplug: Simplify acpi_set_hp_context() Since all of the acpi_set_hp_context() callers pass at least one NULL function pointer and one caller passes NULL function pointers only to it, drop function pointer arguments from acpi_set_hp_context() and make the callers initialize the function pointers in struct acpi_hotplug_context by themselves before passing it to acpi_set_hp_context(). Signed-off-by: Rafael J. Wysocki Acked-by: Bjorn Helgaas --- Reading git-diff-tree failed