Received: by 10.213.65.68 with SMTP id h4csp1302224imn; Wed, 21 Mar 2018 07:32:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELsz3SpaIJYr8JX8dCDL/yo4U+yw8dAxVQ9VqpUBYT0vyVlgoypgaxZpKPCXu7nw53BsUYFp X-Received: by 10.101.101.133 with SMTP id u5mr15029299pgv.151.1521642729848; Wed, 21 Mar 2018 07:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521642729; cv=none; d=google.com; s=arc-20160816; b=EYuVqrkn/hH11oWO70IWxY3sUd9aEKSbaGTX37/9HkOnpL4qFQShhH/sq+wEzxWQz0 4T5xPjrZWFYrNMjSFUH4JsWLJuh/r79TSPStBcXQR5eb74NViq8ChNRtppW9kBmTZHdR e9BmnELSGahHmFDI1VGfROYO833qcvpU7QRAfyiwDgTMccCUbWrI1fKG19j/JK8cspRr 3u5UDLF4Xql6BmC8AvwyxMl923l/9h+82DJpPLeJQtmJAUBquX41SCuXbGUvRiRGNV93 r6dULgvfuzlKuB4EaKn0d56bSF0lSMy2BuPvXI3HPPVioa3Inpk9QcD9pUcsMea+seA2 QjRA== 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:to:from :dkim-signature:arc-authentication-results; bh=jMITWHB5iDdXjJQezDXMQ9W/5NqZvJHX0TBd1FeEioo=; b=MbgK3K3Kr81p5rG4l8xHp7GWpYwXiz5Kjs9j/sE7VBnzeh8KGVbQTndfVToX+wzqwW 0Ny2J/pqUY+NuzvqAjI/IXosEWjGPQWDrJa9UNbL4ynS44sYA/5QbvMc9BKJ9h6LWcmO GkQXtLQeV+zJ2ZGedxvfrn8LcTH32dPfrD2RGo87HGhY9L6VYN1GvGLiECTlg1NGRLbc kQPxMjSH/eR0jB0ZnWriQgbgq3tCeX0XZDo3kC0860rE/2zyEexgZJxlD/SYxwSx/yed g9EluJW1tCtyEQUC9VQksuTaWsqrkOhCuBXIUMOqmAlnlC+/AYIWRPV+6MuUFU9Ew8bW lE/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20150623.gappssmtp.com header.s=20150623 header.b=Mz96pza9; 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 c3-v6si4079046pld.545.2018.03.21.07.31.55; Wed, 21 Mar 2018 07:32:09 -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=Mz96pza9; 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 S1752543AbeCUOap (ORCPT + 99 others); Wed, 21 Mar 2018 10:30:45 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:42132 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752499AbeCUOag (ORCPT ); Wed, 21 Mar 2018 10:30:36 -0400 Received: by mail-qk0-f194.google.com with SMTP id b198so5610342qkg.9 for ; Wed, 21 Mar 2018 07:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=jMITWHB5iDdXjJQezDXMQ9W/5NqZvJHX0TBd1FeEioo=; b=Mz96pza9GAPU3aNACGumI2Om/FkS58cJoF9PfxazrhKnyp+aXWLQQ/YcblvLDCOUvF kczi9rp/xgqkjWegfIr//JXLOQFwxrDkg0+3aPWldz5gmwwBkqpuwXQPDWrDRMwnR746 choOSN5VTagSN2cqUdriB1+hPHv4IFxepaM1R3heHEJZZoORjEPemCaeK12dIVRYFVtH T/5jIqjxEOqvSRf+BS0kTflqhCBrwnF49hsJAwVAVuBRL7tUgMw+osd2ggQmek0sIZ6+ RF0i33TMzV3fjt96G2uh74Rrc6cm/arqTnbUVUQSN+OV0NtxCe6FYXQhF+ndtZgMNiZV A1vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jMITWHB5iDdXjJQezDXMQ9W/5NqZvJHX0TBd1FeEioo=; b=NHLfNHzWsMDJWpeppBFsWoi1cKxTkyB6viBv+lntHFmGTV/LMkmvTzRp86I/CFLSgg pXsu+V4+IHkOIpnl3sgH8PaKl0X0wPgYw8tJEQBjVoRF+c8Tisv7CpAV4wSPeFxIjr2k j4/NZM4uc3xufUhQaox2WmEd8IgKMlUbYQwc8tajrKt3NCE5B5fODMWBxr3zW2J5Q4wu 9gxE5U3KelayFXMsCdaTCMmiJ+vZsKinKVpyioZDhneYbZP5rO5fNHO4yxwAmwko0HR6 kvZyXA9ZS8RWkmZRAYVcR+on2JOJv9Cq25+kRbuNaB6yzan/SdkRwrSstUFGbezUePcM p4hA== X-Gm-Message-State: AElRT7HhRvPnA+Jg/u8b1tUbLvJuYZ+mR5ZDwY7x3ZGwRFD4y91Owjus qtvnlkfWNkoLDAB6DiXjDinVMQ== X-Received: by 10.55.26.86 with SMTP id a83mr21867864qka.165.1521642635780; Wed, 21 Mar 2018 07:30:35 -0700 (PDT) Received: from localhost.localdomain ([190.210.56.45]) by smtp.gmail.com with ESMTPSA id g14sm3118592qtk.71.2018.03.21.07.30.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Mar 2018 07:30:35 -0700 (PDT) From: =?UTF-8?q?Hern=C3=A1n=20Gonzalez?= To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, hernan@vanguardiasur.com.ar Subject: [PATCH 10/11] staging: iio: ad7746: Rename sysfs attrs to comply with the ABI Date: Wed, 21 Mar 2018 11:28:58 -0300 Message-Id: <1521642539-4845-11-git-send-email-hernan@vanguardiasur.com.ar> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521642539-4845-1-git-send-email-hernan@vanguardiasur.com.ar> References: <1521642539-4845-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 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c index b6b99e2..c1f76fc 100644 --- a/drivers/staging/iio/cdc/ad7746.c +++ b/drivers/staging/iio/cdc/ad7746.c @@ -336,16 +336,16 @@ static ssize_t ad7746_start_gain_calib(struct device *dev, AD7746_CONF_MODE_GAIN_CAL); } -static IIO_DEVICE_ATTR(in_capacitance0_calibbias_calibration, - 0200, NULL, ad7746_start_offset_calib, CIN1); -static IIO_DEVICE_ATTR(in_capacitance1_calibbias_calibration, - 0200, NULL, ad7746_start_offset_calib, CIN2); -static IIO_DEVICE_ATTR(in_capacitance0_calibscale_calibration, - 0200, NULL, ad7746_start_gain_calib, CIN1); -static IIO_DEVICE_ATTR(in_capacitance1_calibscale_calibration, - 0200, NULL, ad7746_start_gain_calib, CIN2); -static IIO_DEVICE_ATTR(in_voltage0_calibscale_calibration, - 0200, NULL, ad7746_start_gain_calib, VIN); +static IIO_DEVICE_ATTR(in_capacitance0_calibbias, 0200, NULL, + ad7746_start_offset_calib, CIN1); +static IIO_DEVICE_ATTR(in_capacitance1_calibbias, 0200, NULL, + ad7746_start_offset_calib, CIN2); +static IIO_DEVICE_ATTR(in_capacitance0_calibscale, 0200, NULL, + ad7746_start_gain_calib, CIN1); +static IIO_DEVICE_ATTR(in_capacitance1_calibscale, 0200, NULL, + ad7746_start_gain_calib, CIN2); +static IIO_DEVICE_ATTR(in_voltage0_calibscale, 0200, NULL, + ad7746_start_gain_calib, VIN); static int ad7746_store_cap_filter_rate_setup(struct ad7746_chip_info *chip, int val) @@ -388,11 +388,11 @@ static IIO_CONST_ATTR(in_capacitance_sampling_frequency_available, "91 84 50 26 16 13 11 9"); static struct attribute *ad7746_attributes[] = { - &iio_dev_attr_in_capacitance0_calibbias_calibration.dev_attr.attr, - &iio_dev_attr_in_capacitance0_calibscale_calibration.dev_attr.attr, - &iio_dev_attr_in_capacitance1_calibscale_calibration.dev_attr.attr, - &iio_dev_attr_in_capacitance1_calibbias_calibration.dev_attr.attr, - &iio_dev_attr_in_voltage0_calibscale_calibration.dev_attr.attr, + &iio_dev_attr_in_capacitance0_calibbias.dev_attr.attr, + &iio_dev_attr_in_capacitance0_calibscale.dev_attr.attr, + &iio_dev_attr_in_capacitance1_calibscale.dev_attr.attr, + &iio_dev_attr_in_capacitance1_calibbias.dev_attr.attr, + &iio_dev_attr_in_voltage0_calibscale.dev_attr.attr, &iio_const_attr_in_voltage_sampling_frequency_available.dev_attr.attr, &iio_const_attr_in_capacitance_sampling_frequency_available.dev_attr.attr, NULL, -- 2.7.4