From: Richard Purdie <rpurdie@rpsys.net>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>, lenz@cs.wisc.edu
Subject: Re: [rfc] separate sharpsl_pm initialization from sysfs code
Date: Thu, 09 Mar 2006 13:33:21 +0000 [thread overview]
Message-ID: <1141911202.10107.54.camel@localhost.localdomain> (raw)
In-Reply-To: <20060309124237.GA3794@elf.ucw.cz>
On Thu, 2006-03-09 at 13:42 +0100, Pavel Machek wrote:
> Hi!
>
> On collie, battery sensing code is not on platform bus -- it is on
> ucb1x00. Is this acceptable way to make sharpsl_pm useful for collie?
> It separates code that is bus-independent, so collie can call only
> code it needs.
I'm not sure why the battery sensing code being on a non-platform bus
prevents you from registering a platform device as mentioned in my other
email? If you register the device, you then get the benefit of all the
features of the common code like the sysfs attributes and common
charging code. Its not really designed to be used outside the device
model and I suspect trying to do so is just going to mean lots more
nasty changes to it in the future...
Richard
next prev parent reply other threads:[~2006-03-09 13:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-09 12:42 Pavel Machek
2006-03-09 13:33 ` Richard Purdie [this message]
2006-03-10 18:07 ` Pavel Machek
2006-03-13 0:02 ` Russell King
2006-03-22 9:37 ` Pavel Machek
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=1141911202.10107.54.camel@localhost.localdomain \
--to=rpurdie@rpsys.net \
--cc=lenz@cs.wisc.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.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
Powered by JetHome