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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]