On Sat, 2006-10-28 at 18:55 +0000, Pavel Machek wrote: > Bad idea... I bet someone will just ignore the units part, because all > the machines he seen had mW there. Sure, user space can do silly things. Just ask davej. Let's try to assume they don't. > Just put it into the name: > > power_avg_mV Bad idea... it means user space will have to try to open different files and what happens when someone introduces a new unit? Ideally I'd like the unit to be part of the payload of the sysfs file. Second to that I think having the unit in a separate file is preferable. David - 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/
- Follow-Ups:
- Re: [PATCH v2] Re: Battery class driver.
- From: Pavel Machek <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- References:
- Re: Battery class driver.
- From: Richard Hughes <[email protected]>
- [PATCH v2] Re: Battery class driver.
- From: David Woodhouse <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: "Shem Multinymous" <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: David Woodhouse <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: "Shem Multinymous" <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: David Woodhouse <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: "Shem Multinymous" <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: David Woodhouse <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: Richard Hughes <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: David Zeuthen <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: Pavel Machek <[email protected]>
- Re: Battery class driver.
- Prev by Date: p4-clockmod N60 errata workaround.
- Next by Date: p4-clockmod N60 errata workaround.
- Previous by thread: Re: [PATCH v2] Re: Battery class driver.
- Next by thread: Re: [PATCH v2] Re: Battery class driver.
- Index(es):