Re: [Kernel-discuss] [PATCH 3/8] Universal power supply class(was: battery class)

From: ian
Date: Thu May 03 2007 - 18:15:46 EST


On Fri, 2007-05-04 at 01:31 +0400, Anton Vorontsov wrote:
> # cat /sys/class/power\ supply/ac/type
> AC
>
> # cat /sys/class/power\ supply/usb/type
> USB

isnt that a bit redundant?

I'd have thought sys/class/power\ supply/supplyX/type would be better?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/