From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754889Ab2H0XBy (ORCPT ); Mon, 27 Aug 2012 19:01:54 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:39515 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753379Ab2H0XBx (ORCPT ); Mon, 27 Aug 2012 19:01:53 -0400 MIME-Version: 1.0 In-Reply-To: <1345241877-16200-18-git-send-email-cheiny@synaptics.com> References: <1345241877-16200-1-git-send-email-cheiny@synaptics.com> <1345241877-16200-18-git-send-email-cheiny@synaptics.com> Date: Mon, 27 Aug 2012 16:01:52 -0700 Message-ID: Subject: Re: [RFC PATCH 17/17] input: RMI4 F54 analog data reporting From: Linus Walleij To: Christopher Heiny Cc: Dmitry Torokhov , Jean Delvare , Linux Kernel , Linux Input , Allie Xiong , William Manson , Peichen Chang , Joerie de Gram , Wolfram Sang , Mathieu Poirier , Linus Walleij , Naveen Kumar Gaddipati , Jonathan Cameron Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: Verbose commit message. > Signed-off-by: Christopher Heiny > +#include > +#include > +#include > +#include > +#include > +#include This is not using the existing in-kernel framework for ADC (which I think is what you're doing), in this case use the IIO subsystem so consult drivers/iio/adc and be inspired. Just exposing a set of weird sysfs files to userspace is not proper. Yours, Linus Walleij