From patchwork Tue Jul 2 15:49:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 2813661 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0AA1B9F3EB for ; Tue, 2 Jul 2013 15:50:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 539D920198 for ; Tue, 2 Jul 2013 15:50:29 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1D02D20185 for ; Tue, 2 Jul 2013 15:50:28 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r62FnJSQ028290; Tue, 2 Jul 2013 10:49:19 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r62FnJAq023605; Tue, 2 Jul 2013 10:49:19 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Tue, 2 Jul 2013 10:49:18 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r62FnI8S018509; Tue, 2 Jul 2013 10:49:18 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id ABF5780627; Tue, 2 Jul 2013 10:49:18 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 9F4E880626 for ; Tue, 2 Jul 2013 10:49:17 -0500 (CDT) Received: from medina.ext.ti.com (medina.ext.ti.com [192.91.81.31]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id r62FnHMd022867 for ; Tue, 2 Jul 2013 10:49:17 -0500 (CDT) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by medina.ext.ti.com (8.13.7/8.13.7) with ESMTP id r62FnG2R009585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Jul 2013 10:49:17 -0500 Received: from [216.82.242.147:62409] by server-15.bemta-8.messagelabs.com id C1/BA-30444-C76F2D15; Tue, 02 Jul 2013 15:49:16 +0000 X-Env-Sender: kevin.hilman@linaro.org X-Msg-Ref: server-15.tower-95.messagelabs.com!1372780154!29809144!1 X-Originating-IP: [209.85.212.171] X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP X-StarScan-Received: X-StarScan-Version: 6.9.9; banners=-,-,- X-VirusChecked: Checked Received: (qmail 21867 invoked from network); 2 Jul 2013 15:49:15 -0000 Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com) (209.85.212.171) by server-15.tower-95.messagelabs.com with RC4-SHA encrypted SMTP; 2 Jul 2013 15:49:15 -0000 Received: by mail-wi0-f171.google.com with SMTP id hj3so4323483wib.16 for ; Tue, 02 Jul 2013 08:49:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=wotuLMJU6V8EAyJDVAE0JW9zvPdcxczwmarCDRPBW0E=; b=QTL+vKujvID/fnNNAEqmCT6++GvT1lbrKqb7uTX65L1vI0xEcd6I2RWlAbH2sr5Lai 7b7F4DRHfHFBZEH/hgVZ4ptT+Z4+B+9H56xNSGeVcWzfArhIjxTtCNxOI3Y9PgQX3lzl NTPWxuUuyb3ZhUpjDkMfOFtU/lVpq/ihT0oZVWeqOY5pR21shNODW/7f8b8ixWx3XT8Q kjuxcnx5OrHOC5nTF/ErXb+USjYftr+Q6aiwIgazdz38PyzzhjnAY5nNnz163kRi16zQ QKZFg3dMYscALXruoIHRq62B8UOOoCZ5LPGKcVWy45Rschq/lC+jFXmr1srtJrr6czvt eyQQ== MIME-Version: 1.0 X-Received: by 10.180.187.235 with SMTP id fv11mr15698348wic.65.1372780154583; Tue, 02 Jul 2013 08:49:14 -0700 (PDT) Received: by 10.180.14.227 with HTTP; Tue, 2 Jul 2013 08:49:14 -0700 (PDT) In-Reply-To: <1370843627-30823-2-git-send-email-dmitry.torokhov@gmail.com> References: <1370843627-30823-1-git-send-email-dmitry.torokhov@gmail.com> <1370843627-30823-2-git-send-email-dmitry.torokhov@gmail.com> Date: Tue, 2 Jul 2013 08:49:14 -0700 Message-ID: Subject: Re: [PATCH 2/3] Input: tps6507x-ts - remove vref from platform data From: Kevin Hilman To: Dmitry Torokhov X-Gm-Message-State: ALoCoQnUYzL+4eUXdZ04/eu8hbCUEdGgDbymJEwYQR1YOmNG96YdOGRERY2WJF7qyAqHk9ylMgwW CC: , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Sun, Jun 9, 2013 at 10:53 PM, Dmitry Torokhov wrote: > Although defined in platform data, vref is not used anywhere. > > Also remove model, irq, and clear_penirq as they are not used either. > > Signed-off-by: Dmitry Torokhov Actually, it's used in arch/arm/mach-davinci/board-da850-evm.c. The following should be folded into this patch. Found by build failure in linux-next building da8xx_omapl_defconfig for ARM. Kevin .version = 0x100, /* /sys/class/input/input?/id/version */ diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 8a24b6c..bea6793 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -985,7 +985,6 @@ static struct regulator_init_data tps65070_regulator_data[] = { static struct touchscreen_init_data tps6507x_touchscreen_data = { .poll_period = 30, /* ms between touch samples */ .min_pressure = 0x30, /* minimum pressure to trigger touch */ - .vref = 0, /* turn off vref when not using A/D */ .vendor = 0, /* /sys/class/input/input?/id/vendor */ .product = 65070, /* /sys/class/input/input?/id/product */