Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbWJMPuh (ORCPT ); Fri, 13 Oct 2006 11:50:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751339AbWJMPuh (ORCPT ); Fri, 13 Oct 2006 11:50:37 -0400 Received: from mx1.redhat.com ([66.187.233.31]:29076 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1751357AbWJMPug (ORCPT ); Fri, 13 Oct 2006 11:50:36 -0400 Date: Fri, 13 Oct 2006 11:50:20 -0400 From: Dave Jones To: Jesper Juhl Cc: Burman Yan , linux-kernel@vger.kernel.org, Andrey Panin Subject: Re: [PATCH] HP mobile data protection system driver Message-ID: <20061013155020.GA8204@redhat.com> Mail-Followup-To: Dave Jones , Jesper Juhl , Burman Yan , linux-kernel@vger.kernel.org, Andrey Panin References: <20061013092603.GA26306@pazke.donpac.ru> <9a8748490610130306v3bfe13b4j135cc474ff718657@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a8748490610130306v3bfe13b4j135cc474ff718657@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 791 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/