[PATCH] Update sys/dev/acpi/dsdt.c to style(9)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Update sys/dev/acpi/dsdt.c to style(9)

Dmitri Alenitchev
Index: dsdt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.47
diff -u -r1.47 dsdt.c
--- dsdt.c      14 Jun 2006 16:30:07 -0000      1.47
+++ dsdt.c      28 Aug 2006 02:04:36 -0000
@@ -3019,10 +3019,9 @@
        return id;
 }

-struct acpi_context *acpi_alloccontext(struct acpi_softc *sc,
-                                      struct aml_node *node,
-                                      int argc,
-                                      struct aml_value *argv)
+struct acpi_context *
+acpi_alloccontext(struct acpi_softc *sc, struct aml_node *node,
+                  int argc, struct aml_value *argv)
 {
        struct acpi_context *ctx;
        int idx;
@@ -3042,7 +3041,8 @@
        return ctx;
 }

-void acpi_freecontext(struct acpi_context *ctx)
+void
+acpi_freecontext(struct acpi_context *ctx)
 {
        int idx;

--
Dmitri A. Alenitchev
No place like $HOME

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Update sys/dev/acpi/dsdt.c to style(9)

Marco Peereboom
dsdt will be pretty completely replaced any day now.  So thanks for the patch
but we wont be applying this for now.

On Mon, Aug 28, 2006 at 06:05:24AM +0400, Dmitri Alenitchev wrote:

> Index: dsdt.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
> retrieving revision 1.47
> diff -u -r1.47 dsdt.c
> --- dsdt.c      14 Jun 2006 16:30:07 -0000      1.47
> +++ dsdt.c      28 Aug 2006 02:04:36 -0000
> @@ -3019,10 +3019,9 @@
>         return id;
>  }
>
> -struct acpi_context *acpi_alloccontext(struct acpi_softc *sc,
> -                                      struct aml_node *node,
> -                                      int argc,
> -                                      struct aml_value *argv)
> +struct acpi_context *
> +acpi_alloccontext(struct acpi_softc *sc, struct aml_node *node,
> +                  int argc, struct aml_value *argv)
>  {
>         struct acpi_context *ctx;
>         int idx;
> @@ -3042,7 +3041,8 @@
>         return ctx;
>  }
>
> -void acpi_freecontext(struct acpi_context *ctx)
> +void
> +acpi_freecontext(struct acpi_context *ctx)
>  {
>         int idx;
>
> --
> Dmitri A. Alenitchev
> No place like $HOME