From patchwork Fri Aug 22 14:11:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 35855 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2DD122057E for ; Fri, 22 Aug 2014 14:11:46 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf48207891igi.4 for ; Fri, 22 Aug 2014 07:11:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=OponejjQZ770cVwCGE11dGPtM2H+x3rkH7zmhVo2SHk=; b=T3KnhD6F0icY9HERakh1J6LnyvyVCamqCo9bfFnbrtlPkB/giiJ42yD2Lm8x/U+5oK E9pHYlbyAUJd+NsYT/i/RCFn8lhAFBV5wo15wXMSoRenyJ+HjD3LxZWGRJm0x7rg30ze cFzyErB+UZV0yYdRwZt9Zu2kSn7Nc/KrfbX96JyDRKplJBSASUUZERfNLmKyLYyk4iQ7 FaR3hln2lB1A997aNFRU560wrgpFZHqMffx9Lfzc7y0Ox84HPAcQ6f+Fkj0/l7LyRF2l 0bakbcd+xwCcesUMIcwkYLHFrL3FVX3GWleAAHN3N17No0GYnuZcTWN2iXJEITVa8u6j LLsg== X-Gm-Message-State: ALoCoQnZZuOde7GspGlVLYiEWIiReotFGb9qe5fW+wpEfJxBjjPp7dpbwZA+M2qm9JKnEA937yyZ X-Received: by 10.182.130.168 with SMTP id of8mr3522333obb.27.1408716705562; Fri, 22 Aug 2014 07:11:45 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.182 with SMTP id i51ls1157297qge.20.gmail; Fri, 22 Aug 2014 07:11:45 -0700 (PDT) X-Received: by 10.220.95.132 with SMTP id d4mr942142vcn.33.1408716705379; Fri, 22 Aug 2014 07:11:45 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id yj12si13650807vdb.18.2014.08.22.07.11.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 22 Aug 2014 07:11:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so12238587vcb.40 for ; Fri, 22 Aug 2014 07:11:45 -0700 (PDT) X-Received: by 10.220.202.9 with SMTP id fc9mr397718vcb.40.1408716705279; Fri, 22 Aug 2014 07:11:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp20228vcb; Fri, 22 Aug 2014 07:11:44 -0700 (PDT) X-Received: by 10.66.102.37 with SMTP id fl5mr366189pab.35.1408716704291; Fri, 22 Aug 2014 07:11:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id om6si41024977pdb.252.2014.08.22.07.11.44 for ; Fri, 22 Aug 2014 07:11:44 -0700 (PDT) Received-SPF: none (google.com: linux-input-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932118AbaHVOLn (ORCPT ); Fri, 22 Aug 2014 10:11:43 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:34385 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932112AbaHVOLm (ORCPT ); Fri, 22 Aug 2014 10:11:42 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s7MEBJXl003001; Fri, 22 Aug 2014 09:11:19 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7MEBJox024038; Fri, 22 Aug 2014 09:11:19 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Fri, 22 Aug 2014 09:11:18 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s7MEBIwu002129; Fri, 22 Aug 2014 09:11:18 -0500 Received: from localhost (j-172-22-73-212.vpn.ti.com [172.22.73.212]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id s7MEBIt13888; Fri, 22 Aug 2014 09:11:18 -0500 (CDT) From: Dan Murphy To: , CC: , , Dan Murphy Subject: [PATCH] input: misc: drv260x remove defines not used Date: Fri, 22 Aug 2014 09:11:15 -0500 Message-ID: <1408716675-1093-1-git-send-email-dmurphy@ti.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: dmurphy@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Removing some #defines that are not and should never be used pertaining to I2C. Removing: define DRV260X_ALLOWED_R_BYTES 25 define DRV260X_ALLOWED_W_BYTES 2 define DRV260X_MAX_RW_RETRIES 5 define DRV260X_I2C_RETRY_DELAY 10 Signed-off-by: Dan Murphy --- drivers/input/misc/drv260x.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/input/misc/drv260x.c b/drivers/input/misc/drv260x.c index e90e3b8..a7a19e6 100644 --- a/drivers/input/misc/drv260x.c +++ b/drivers/input/misc/drv260x.c @@ -66,11 +66,6 @@ #define DRV260X_LRA_RES_PERIOD 0x22 #define DRV260X_MAX_REG 0x23 -#define DRV260X_ALLOWED_R_BYTES 25 -#define DRV260X_ALLOWED_W_BYTES 2 -#define DRV260X_MAX_RW_RETRIES 5 -#define DRV260X_I2C_RETRY_DELAY 10 - #define DRV260X_GO_BIT 0x01 /* Library Selection */