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

From: Rafael J. Wysocki
Date: Tue Jan 22 2013 - 16:59:30 EST


On Tuesday, January 22, 2013 02:24:27 PM Toshi Kani wrote:
> 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>

Thanks!

Rafael


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
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/