Re: [PATCH] ACPI: Remove useless type argument of driver .remove()operation

From: Toshi Kani
Date: Tue Jan 22 2013 - 16:34:12 EST


On Sun, 2013-01-20 at 23:04 +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> The second argument of ACPI driver .remove() operation is only used
> by the ACPI processor driver and the value passed to that driver
> through it is always available from the given struct acpi_device
> object's removal_type field. For this reason, the second ACPI driver
> .remove() argument is in fact useless, so drop it.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

Thanks for the clean-up! It looks good.

Acked-by: Toshi Kani <toshi.kani@xxxxxx>

-Toshi


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/