From: Rafael J. Wysocki Date: Thu, 20 Dec 2012 23:36:47 +0000 (+0100) Subject: ACPI: Remove the arguments of acpi_bus_add() that are not used X-Git-Tag: v3.9-rc1~146^2~12^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636458de36f1fb4cdd318387d2f45604e451b17a;p=pandora-kernel.git ACPI: Remove the arguments of acpi_bus_add() that are not used Notice that acpi_bus_add() uses only 2 of its 4 arguments and redefine its header to match the body. Update all of its callers as necessary and observe that this leads to quite a number of removed lines of code (Linus will like that). Add a kerneldoc comment documenting acpi_bus_add() and wonder how its callers make wrong assumptions about the second argument (make note to self to take care of that later). Signed-off-by: Rafael J. Wysocki Acked-by: Yinghai Lu Acked-by: Toshi Kani --- Reading git-diff-tree failed