Re: [PATCH] ACPI: Drop the container.h header file

From: Toshi Kani
Date: Fri Feb 08 2013 - 18:38:19 EST


On Sat, 2013-02-09 at 00:18 +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> The include/acpi/container.h only contains a definition of a
> structure that is not used any more, so drop it entirely.
>
> Similar change was proposed earlier by Toshi Kani.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>

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

Thanks,
-Toshi


> ---
>
> On top of current linux-pm.git/bleeding-edge.
>
> Thanks,
> Rafael
>
> ---
> drivers/acpi/container.c | 1 -
> include/acpi/container.h | 12 ------------
> 2 files changed, 13 deletions(-)
>
> Index: test/include/acpi/container.h
> ===================================================================
> --- test.orig/include/acpi/container.h
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -#ifndef __ACPI_CONTAINER_H
> -#define __ACPI_CONTAINER_H
> -
> -#include <linux/kernel.h>
> -
> -struct acpi_container {
> - acpi_handle handle;
> - unsigned long sun;
> - int state;
> -};
> -
> -#endif /* __ACPI_CONTAINER_H */
> Index: test/drivers/acpi/container.c
> ===================================================================
> --- test.orig/drivers/acpi/container.c
> +++ test/drivers/acpi/container.c
> @@ -34,7 +34,6 @@
> #include <linux/acpi.h>
> #include <acpi/acpi_bus.h>
> #include <acpi/acpi_drivers.h>
> -#include <acpi/container.h>
>
> #define PREFIX "ACPI: "
>
>


--
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/