Re: [PATCH] HP mobile data protection system driver

From: Dave Jones
Date: Fri Oct 13 2006 - 11:50:57 EST


On Fri, Oct 13, 2006 at 12:06:40PM +0200, Jesper Juhl wrote:

> > + accelerometer data is readable via /proc/drivers/mdps.
>
> I believe it would be better to use sysfs. Procfs is cluttered enough
> as it is and there's not much will to clutter it further.

Better yet, would be to use the same interface the hdaps driver uses
so that userspace written for one accelerometer works with any hardware.
Having to cope with a dozen different drivers who export in different
places is just silly.

Dave

--
http://www.codemonkey.org.uk
-
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/