From: Pavel Machek <pavel@ucw.cz>
To: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: rpurdie@rpsys.net, lenz@cs.wisc.edu,
kernel list <linux-kernel@vger.kernel.org>,
Dirk@Opfer-Online.de, arminlitzel@web.de,
Cyril Hrubis <metan@ucw.cz>,
thommycheck@gmail.com,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
omegamoon@gmail.com, eric.y.miao@gmail.com, utx@penguin.cz,
cbou@mail.ru
Subject: Re: something wrong in drivers/power
Date: Sun, 27 Sep 2009 19:35:16 +0200 [thread overview]
Message-ID: <20090927173516.GB6710@elf.ucw.cz> (raw)
In-Reply-To: <20090926145536.GA8445@doriath.ww600.siemens.net>
On Sat 2009-09-26 18:55:36, Dmitry Eremin-Solenikov wrote:
> On Sat, Sep 26, 2009 at 11:55:55AM +0200, Pavel Machek wrote:
> >
> > Tosa battery driver seems to be confused about its own identity.
>
> NAK. Please see the drivers/input/touchscree/wm97xx-core.c
Could you elaborate?
I took a look at touchscreen file, and it does not explain
anything. Having tosa_battery calling itself wm97xx-battery is at
least confusing, and there's no explaining comment. Given that we have
different wm97xx_battery.c driver calling itself "wm97xx-battery"... I
believe that's a bug.
Pavel
> > Signed-off-by: Pavel Machek <pavel@ucw.cz>
> >
> > diff -ur power.ofic/tosa_battery.c power/tosa_battery.c
> > --- linux/drivers/power.ofic/tosa_battery.c 2009-09-06 08:56:36.000000000 +0200
> > +++ linux/drivers/power/tosa_battery.c 2009-09-15 15:14:08.000000000 +0200
> > @@ -459,7 +459,7 @@
> > }
> >
> > static struct platform_driver tosa_bat_driver = {
> > - .driver.name = "wm97xx-battery",
> > + .driver.name = "tosa-battery",
> > .driver.owner = THIS_MODULE,
> > .probe = tosa_bat_probe,
> > .remove = __devexit_p(tosa_bat_remove),
> > @@ -483,4 +483,4 @@
> > MODULE_LICENSE("GPL");
> > MODULE_AUTHOR("Dmitry Baryshkov");
> > MODULE_DESCRIPTION("Tosa battery driver");
> > -MODULE_ALIAS("platform:wm97xx-battery");
> > +MODULE_ALIAS("platform:tosa-battery");
> >
> >
> > --
> > (english) http://www.livejournal.com/~pavelmachek
> > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
>
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2009-09-27 17:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-26 9:55 Pavel Machek
[not found] ` <20090926120657.24b337a8@infradead.org>
2009-09-26 11:38 ` Pavel Machek
2009-09-26 14:55 ` Dmitry Eremin-Solenikov
2009-09-27 17:35 ` Pavel Machek [this message]
2009-09-28 7:55 ` Dmitry Eremin-Solenikov
2009-09-28 12:22 ` Mark Brown
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=20090927173516.GB6710@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=Dirk@Opfer-Online.de \
--cc=arminlitzel@web.de \
--cc=cbou@mail.ru \
--cc=dbaryshkov@gmail.com \
--cc=eric.y.miao@gmail.com \
--cc=lenz@cs.wisc.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=metan@ucw.cz \
--cc=omegamoon@gmail.com \
--cc=rpurdie@rpsys.net \
--cc=thommycheck@gmail.com \
--cc=utx@penguin.cz \
/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
all inboxes | Powered by JetHome®