[PATCH] bq27000: Return -ENODEV in bq27000_battery_get_property if the battery is not

Lars-Peter Clausen lars at metafoo.de
Tue Jul 21 21:40:44 CEST 2009


Michael 'Mickey' Lauer wrote:
> Thanks Lars, 
>
> will this also fix http://docs.openmoko.org/trac/ticket/2287 ? 
>
> Cheers,
>
> :M:
>
>
>   
Hi

I did a quick test and I got the correct uevent on removal (PRESENT=0, 
others not set) and triggering a change event also worked fine. But I 
was running a 2.6.31 kernel so it's not necessarily related to this fix. 
But I guess chances are pretty good.

- Lars



More information about the openmoko-kernel mailing list