diff mbox

Fix the size of twl4030 script

Message ID 4d34a0a70904092130r215f0eb3p6a45c4950c92e5c0@mail.gmail.com (mailing list archive)
State Accepted
Commit f5e41f6b2a0ec9877d0ecee294afd57a8597c671
Headers show

Commit Message

kim kyuwon April 10, 2009, 4:30 a.m. UTC
The array size of wrst_seq is ARRAY_SIZE(wrst_seq)

Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>
---
 arch/arm/mach-omap2/board-3430sdp.c |    2 +-
 arch/arm/mach-omap2/board-ldp.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

kim kyuwon May 7, 2009, 1:35 a.m. UTC | #1
Hi All,

I sent this patch about 1 month ago.
Can anybody check I'm sending correct patch?

Thanks you!
Kyuwon.

2009/4/10 Kim Kyuwon <chammoru@gmail.com>:
> The array size of wrst_seq is ARRAY_SIZE(wrst_seq)
>
> Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>
> ---
>  arch/arm/mach-omap2/board-3430sdp.c |    2 +-
>  arch/arm/mach-omap2/board-ldp.c     |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-3430sdp.c
> b/arch/arm/mach-omap2/board-3430sdp.c
> index 03acac7..38550e2 100644
> --- a/arch/arm/mach-omap2/board-3430sdp.c
> +++ b/arch/arm/mach-omap2/board-3430sdp.c
> @@ -473,7 +473,7 @@ static struct twl4030_ins wrst_seq[] __initdata = {
>  };
>  static struct twl4030_script wrst_script __initdata = {
>        .script = wrst_seq,
> -       .size   = ARRAY_SIZE(wakeup_seq),
> +       .size   = ARRAY_SIZE(wrst_seq),
>        .flags  = TRITON_WRST_SCRIPT,
>  };
>
> diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
> index 804fd8e..da814d7 100644
> --- a/arch/arm/mach-omap2/board-ldp.c
> +++ b/arch/arm/mach-omap2/board-ldp.c
> @@ -450,7 +450,7 @@ static struct twl4030_ins wrst_seq[] __initdata = {
>
>  static struct twl4030_script wrst_script __initdata = {
>        .script = wrst_seq,
> -       .size   = ARRAY_SIZE(wakeup_seq),
> +       .size   = ARRAY_SIZE(wrst_seq),
>        .flags  = TRITON_WRST_SCRIPT,
>  };
>
> --
> 1.5.2.5
>
> --
> Kyuwon (규원)
>
Tony Lindgren May 13, 2009, 11:40 p.m. UTC | #2
* Kim Kyuwon <chammoru@gmail.com> [090506 18:36]:
> Hi All,
> 
> I sent this patch about 1 month ago.
> Can anybody check I'm sending correct patch?

Peter, care to ack? Any news on sending the scripts part of twl
driver upstream?

Regards,

Tony
 
> Thanks you!
> Kyuwon.
> 
> 2009/4/10 Kim Kyuwon <chammoru@gmail.com>:
> > The array size of wrst_seq is ARRAY_SIZE(wrst_seq)
> >
> > Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>
> > ---
> >  arch/arm/mach-omap2/board-3430sdp.c |    2 +-
> >  arch/arm/mach-omap2/board-ldp.c     |    2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/board-3430sdp.c
> > b/arch/arm/mach-omap2/board-3430sdp.c
> > index 03acac7..38550e2 100644
> > --- a/arch/arm/mach-omap2/board-3430sdp.c
> > +++ b/arch/arm/mach-omap2/board-3430sdp.c
> > @@ -473,7 +473,7 @@ static struct twl4030_ins wrst_seq[] __initdata = {
> >  };
> >  static struct twl4030_script wrst_script __initdata = {
> >        .script = wrst_seq,
> > -       .size   = ARRAY_SIZE(wakeup_seq),
> > +       .size   = ARRAY_SIZE(wrst_seq),
> >        .flags  = TRITON_WRST_SCRIPT,
> >  };
> >
> > diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
> > index 804fd8e..da814d7 100644
> > --- a/arch/arm/mach-omap2/board-ldp.c
> > +++ b/arch/arm/mach-omap2/board-ldp.c
> > @@ -450,7 +450,7 @@ static struct twl4030_ins wrst_seq[] __initdata = {
> >
> >  static struct twl4030_script wrst_script __initdata = {
> >        .script = wrst_seq,
> > -       .size   = ARRAY_SIZE(wakeup_seq),
> > +       .size   = ARRAY_SIZE(wrst_seq),
> >        .flags  = TRITON_WRST_SCRIPT,
> >  };
> >
> > --
> > 1.5.2.5
> >
> > --
> > Kyuwon (규원)
> >
> 
> -- 
> Kyuwon
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Peter 'p2' De Schrijver May 14, 2009, 8:58 a.m. UTC | #3
On Thu, May 14, 2009 at 01:40:14AM +0200, ext Tony Lindgren wrote:
> * Kim Kyuwon <chammoru@gmail.com> [090506 18:36]:
> > Hi All,
> > 
> > I sent this patch about 1 month ago.
> > Can anybody check I'm sending correct patch?
> 
> Peter, care to ack? Any news on sending the scripts part of twl
> driver upstream?
> 
> Regards,

Ack. No news on sending this upstream yet. Too busy resolving other
problems now :(

Cheers,

Peter.
Tony Lindgren May 14, 2009, 3:18 p.m. UTC | #4
* Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com> [090514 01:58]:
> On Thu, May 14, 2009 at 01:40:14AM +0200, ext Tony Lindgren wrote:
> > * Kim Kyuwon <chammoru@gmail.com> [090506 18:36]:
> > > Hi All,
> > > 
> > > I sent this patch about 1 month ago.
> > > Can anybody check I'm sending correct patch?
> > 
> > Peter, care to ack? Any news on sending the scripts part of twl
> > driver upstream?
> > 
> > Regards,
> 
> Ack. No news on sending this upstream yet. Too busy resolving other
> problems now :(

Thanks, will push to l-o. Let's hope you'll get other issues out
of the way soon :)

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tony Lindgren May 14, 2009, 3:19 p.m. UTC | #5
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Initial commit ID (Likely to change): f5e41f6b2a0ec9877d0ecee294afd57a8597c671

PatchWorks
http://patchwork.kernel.org/patch/17530/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=f5e41f6b2a0ec9877d0ecee294afd57a8597c671


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/board-3430sdp.c
b/arch/arm/mach-omap2/board-3430sdp.c
index 03acac7..38550e2 100644
--- a/arch/arm/mach-omap2/board-3430sdp.c
+++ b/arch/arm/mach-omap2/board-3430sdp.c
@@ -473,7 +473,7 @@  static struct twl4030_ins wrst_seq[] __initdata = {
 };
 static struct twl4030_script wrst_script __initdata = {
 	.script = wrst_seq,
-	.size   = ARRAY_SIZE(wakeup_seq),
+	.size   = ARRAY_SIZE(wrst_seq),
 	.flags  = TRITON_WRST_SCRIPT,
 };

diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
index 804fd8e..da814d7 100644
--- a/arch/arm/mach-omap2/board-ldp.c
+++ b/arch/arm/mach-omap2/board-ldp.c
@@ -450,7 +450,7 @@  static struct twl4030_ins wrst_seq[] __initdata = {

 static struct twl4030_script wrst_script __initdata = {
 	.script = wrst_seq,
-	.size   = ARRAY_SIZE(wakeup_seq),
+	.size   = ARRAY_SIZE(wrst_seq),
 	.flags  = TRITON_WRST_SCRIPT,
 };