Received: by 10.192.165.156 with SMTP id m28csp897514imm; Fri, 13 Apr 2018 09:40:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx49iAOAGx3UHi1kjxReP4LaTH6OeJZHOAtzYXtGwSK1q/o5DzPwOJowNeiY2DfSEbgiAgQJl X-Received: by 10.98.138.154 with SMTP id o26mr12135159pfk.82.1523637606427; Fri, 13 Apr 2018 09:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523637606; cv=none; d=google.com; s=arc-20160816; b=0M9Y9DAYV1yzzaTdT5QmtTlaUoP5Z1UpuFSI+PuxXizX4u2fi5ZTJQV32RnLhsIrsa 5XN10dKGuZL9tZL23fMK1RbX/gihXy1ntDz9x1cmtxchohAspokVhX3v23qb6ibheaap C9Vw8kHwimb4YlEKHuoXhs0TdrqZJOJncfqQOhu31UZ4ksFaUVeYQbSO0AZoBvMRTQVt jMwT1aLMJZ9Tgm3IM7y2xxGIzPVjUiJZCGXuJRmT5RQyO/9HbYZv4uhnfEC3lEbrpoti thvVKftojLrtYCWhnkkjaxEy4vQ7WnYGcQ+tuLwZNc5N5uM355ewJkctXsY5gbchuk2C JSkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=55xgRXM2dPdkR45O6cLT3rlu9dkWrcUuZxkQn60EN8o=; b=cy2INhilpWZtkeqT4SAYrZQwprG2LGICoQsIBFHVSnY2xlZdefAaR3jtvWHzE4NcZJ /7+v7a4hQbX1e4EqUD4dveBaD+t166Y0bqW045xDz4/BTtyRnUyWdEb5ImZirbAX/Uym DZc7/MTaKJjvjPn7PZbf3+DeKR4YnBh/ff2Yg2b5lCj28E4G8N0hY6IzNSHkr5JI8r54 DBMEK6bjOPqvZ8T0nD0rO5zelCn7oLW/vAABNCo3qH8eN+uLBJokJPBY9nlCWi9J2zvB UZb0Cq+MKoJWi61g93hYUR8aLKvKG1uCQa5gk+t0WetcmRoy5KEqDcWSjzZsnzZOVyTD /zpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=Kd81A6bN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si4222172pga.364.2018.04.13.09.39.52; Fri, 13 Apr 2018 09:40:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=Kd81A6bN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753129AbeDMQi1 (ORCPT + 99 others); Fri, 13 Apr 2018 12:38:27 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:37057 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbeDMQiY (ORCPT ); Fri, 13 Apr 2018 12:38:24 -0400 Received: by mail-qk0-f196.google.com with SMTP id w6so9719070qkb.4 for ; Fri, 13 Apr 2018 09:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=55xgRXM2dPdkR45O6cLT3rlu9dkWrcUuZxkQn60EN8o=; b=Kd81A6bNVsbySwmM/1ki6oZxWi3Stgu4k5G9BQkjU4fMsMX3xtZ3CBEva+pWXyq1el ZcgCRldHtAzEGRuPluWzDQMwos+ibRW6PmYaaPSVClzILB8D9q2G44oStrhc9vzocDQ6 ggrxOkyLuXbLxj3ICuj/EZKsaltGtaChn87sDxzbbs59N8Sh1J067CUL9RGikayhdSbP asXxViWamo33m9T8s82TwmRsAOhKjFk5aguGxvQPizY0TCtb0qY1T3jE6KkMA+9i1sI8 dSQswZqAyT/OzmbZAhysX/9qAxzFA1M8qoNJQVUWXM7yZVl9K/cefwXDN6k36ruDHbDT A4zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=55xgRXM2dPdkR45O6cLT3rlu9dkWrcUuZxkQn60EN8o=; b=JAIaWVImrHAobXrJ2Qolhu19+EPToTn9L8V+MvxUDVFq0/8o6wtDS7jAK7CcDbDElt 4yjW8Ic9WfM3w5WIxEJJzn+AVL30y+VwRMEunqdtNLkLDk15DZgiFT0oo9BaJaUHaELr rEYprcwCGISbuhYAo+BI8Hftmih8KA0ccGFPpx61l/RjutiSm3LhU0SUqjm52WxQghzT ZMWr/Z7NGY1lxzEu/cRGDckcta2vX2CpRrwmTchNSRIFD6z62papCCECUbndqUiuvydh Z3hDh+Q/do2OCbYc8D0VXCtd6YTCUth9FMe56czGwdz6y2KRwUpIbqX8m7GBCyfo6hhh uUBA== X-Gm-Message-State: ALQs6tC3cxFjbuD3NF1LRWzir+D8loR74US9mJlZKYV+OVt9w57Rig3m lyxELagKbf5nXPeWMcnLioM2sg== X-Received: by 10.55.171.6 with SMTP id u6mr4869691qke.331.1523637503866; Fri, 13 Apr 2018 09:38:23 -0700 (PDT) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id t82sm5024687qke.52.2018.04.13.09.38.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Apr 2018 09:38:23 -0700 (PDT) From: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= Subject: [PATCH v2 07/14] staging: iio: ad7746: Remove unused defines Date: Fri, 13 Apr 2018 13:36:44 -0300 Message-Id: <1523637411-8531-8-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523637411-8531-1-git-send-email-hernan@vanguardiasur.com.ar> References: <1523637411-8531-1-git-send-email-hernan@vanguardiasur.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: HernĂ¡n Gonzalez --- drivers/staging/iio/cdc/ad7746.c | 7 ------- drivers/staging/iio/cdc/ad7746.h | 5 ----- 2 files changed, 12 deletions(-) diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c index f53612a..d39ab34 100644 --- a/drivers/staging/iio/cdc/ad7746.c +++ b/drivers/staging/iio/cdc/ad7746.c @@ -25,7 +25,6 @@ * AD7746 Register Definition */ -#define AD7746_REG_STATUS 0 #define AD7746_REG_CAP_DATA_HIGH 1 #define AD7746_REG_VT_DATA_HIGH 4 #define AD7746_REG_CAP_SETUP 7 @@ -38,12 +37,6 @@ #define AD7746_REG_CAP_GAINH 15 #define AD7746_REG_VOLT_GAINH 17 -/* Status Register Bit Designations (AD7746_REG_STATUS) */ -#define AD7746_STATUS_EXCERR BIT(3) -#define AD7746_STATUS_RDY BIT(2) -#define AD7746_STATUS_RDYVT BIT(1) -#define AD7746_STATUS_RDYCAP BIT(0) - /* Capacitive Channel Setup Register Bit Designations (AD7746_REG_CAP_SETUP) */ #define AD7746_CAPSETUP_CAPEN BIT(7) #define AD7746_CAPSETUP_CIN2 BIT(6) /* AD7746 only */ diff --git a/drivers/staging/iio/cdc/ad7746.h b/drivers/staging/iio/cdc/ad7746.h index ea8572d..2fbcee8 100644 --- a/drivers/staging/iio/cdc/ad7746.h +++ b/drivers/staging/iio/cdc/ad7746.h @@ -13,11 +13,6 @@ * TODO: struct ad7746_platform_data needs to go into include/linux/iio */ -#define AD7466_EXCLVL_0 0 /* +-VDD/8 */ -#define AD7466_EXCLVL_1 1 /* +-VDD/4 */ -#define AD7466_EXCLVL_2 2 /* +-VDD * 3/8 */ -#define AD7466_EXCLVL_3 3 /* +-VDD/2 */ - struct ad7746_platform_data { unsigned char exclvl; /*Excitation Voltage Level */ bool exca_en; /* enables EXCA pin as the excitation output */ -- 2.7.4