On Sat, 2006-10-28 at 14:22 +0100, Richard Hughes wrote: > On Sat, 2006-10-28 at 13:15 +0100, David Woodhouse wrote: > > > > Hm. Again we have the question of whether to export 'threshold_pct' > > vs.'threshold_abs', or whether to have a separate string property > > which says what the 'unit' of the threshold is. I don't care much -- > > I'll do whatever DavidZ prefers. > > Unit is easier to process in HAL in my opinion. What about just prepending the unit to the 'threshold' file? Then user space can expect the contents of said file to be of the form "%d %s". I don't think that violates the "only one value per file" sysfs mantra. 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.
- From: "Shem Multinymous" <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- From: David Zeuthen <[email protected]>
- Re: [PATCH v2] Re: Battery class driver.
- References:
- Re: Battery class driver.
- From: Dan Williams <[email protected]>
- Re: Battery class driver.
- From: Richard Hughes <[email protected]>
- Re: Battery class driver.
- From: David Woodhouse <[email protected]>
- 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: Battery class driver.
- Prev by Date: Re: [PATCH -rt] powerpc update
- Next by Date: Re: dealing with excessive includes
- Previous by thread: Re: [PATCH v2] Re: Battery class driver.
- Next by thread: Re: [PATCH v2] Re: Battery class driver.
- Index(es):