From: Felipe Balbi <me@felipebalbi.com>
To: Felipe Balbi <me@felipebalbi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
dmitry.torokhov@gmail.com, felipe.balbi@nokia.com
Subject: Re: [PATCH] input: keyboard: introduce lm8323 driver
Date: Sat, 21 Feb 2009 00:52:48 +0200 [thread overview]
Message-ID: <20090220225247.GY32564@gandalf> (raw)
In-Reply-To: <20090220222911.GV32564@gandalf>
On Sat, Feb 21, 2009 at 12:29:12AM +0200, Felipe Balbi wrote:
> On Fri, Feb 20, 2009 at 02:15:05PM -0800, Andrew Morton wrote:
> > On Thu, 19 Feb 2009 14:31:17 +0200
> > Felipe Balbi <me@felipebalbi.com> wrote:
> >
> > > +struct lm8323_platform_data {
> > > + int debounce_time; /* Time to watch for key bouncing, in ms. */
> > > + int active_time; /* Idle time until sleep, in ms. */
> > > +
> > > + int size_x;
> > > + int size_y;
> > > + int repeat : 1;
> >
> > lm8323_platform_data.repeat appears to be never-written-to?
>
> Nobody is using that yet, still it's used in the driver:
> if (pdata->repeat)
> __set_bit(EV_REP, idev->evbit);
>
> Also, those spaces around : should vanish. Want me to resend the whole
> patch or just a patch on top of it ?
well, I'm stopping for today (almost 1am), here's an update patch. If
you need me to resend the patch, I can do it when I wake up, just bug me
;-)
diff --git a/include/linux/i2c/lm8323.h b/include/linux/i2c/lm8323.h
index 37f819b..67e82bc 100644
--- a/include/linux/i2c/lm8323.h
+++ b/include/linux/i2c/lm8323.h
@@ -33,7 +33,7 @@ struct lm8323_platform_data {
int size_x;
int size_y;
- int repeat : 1;
+ int repeat:1;
const s16 *keymap;
char *pwm1_name; /* Device name for PWM1. */
--
balbi
next prev parent reply other threads:[~2009-02-20 22:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 12:31 [PATCH] input: keyboard: introduce lm8323 driver Felipe Balbi
2009-02-20 22:15 ` Andrew Morton
2009-02-20 22:29 ` Felipe Balbi
2009-02-20 22:52 ` Felipe Balbi [this message]
2009-02-21 7:50 ` Trilok Soni
2009-02-20 22:54 ` Andrew Morton
2009-03-08 2:38 ` Dmitry Torokhov
2009-03-08 12:44 ` Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090220225247.GY32564@gandalf \
--to=me@felipebalbi.com \
--cc=akpm@linux-foundation.org \
--cc=dmitry.torokhov@gmail.com \
--cc=felipe.balbi@nokia.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).