From patchwork Tue Sep 10 12:49:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19870 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f72.google.com (mail-qe0-f72.google.com [209.85.128.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7F73A25E85 for ; Tue, 10 Sep 2013 12:50:06 +0000 (UTC) Received: by mail-qe0-f72.google.com with SMTP id 6sf9198443qea.3 for ; Tue, 10 Sep 2013 05:50:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Mv+HeyTMaWxtPpGb8UXh793C0KRQ9mlAj2Lw8oyYCx8=; b=TcSAy6mD8TBhlF0ddATDYn2S5QsAWGj25M6nP6mkJVbpL7uzjT+xxhrMZwzbIfKuCX OG5jB0E+92uGsoegiFJnx7cotdHwicTpbPptUkls1yg7YbYqXAkte2oGsR35APT7V6SK QAQAtcJhGdmP8gGInWSWqnxgpkqm03K/4kbBIdI3RVkBlM9A1REvvjlI9vokMG2XdSZ5 o22dQQUxc8i+QRlL42NlbJtJj0NyfHxbpZTr+depd6fUNgqX+yCjFAhZ6sL1q41BUQBA wlqO9wZ7hGlUXGzvf9uabmg+7WHoyFwHFx4tx3NaoNhRiyHhx09fX7kU/L1zmE650fbd c3BQ== X-Received: by 10.236.63.165 with SMTP id a25mr8302101yhd.43.1378817406218; Tue, 10 Sep 2013 05:50:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.210 with SMTP id c18ls1941493qey.37.gmail; Tue, 10 Sep 2013 05:50:06 -0700 (PDT) X-Received: by 10.220.74.69 with SMTP id t5mr10466167vcj.18.1378817405983; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id th8si4389260veb.134.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.43; Received: by mail-vb0-f43.google.com with SMTP id h11so5134169vbh.30 for ; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) X-Gm-Message-State: ALoCoQkedGtMjIYFH/2wFmtAMFIEfkBM5NqE67sCTqy2Hy747kjMsm8ms+HU1+TIdSzb4ljlWu00 X-Received: by 10.220.145.132 with SMTP id d4mr22762897vcv.9.1378817405913; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp19390vcz; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) X-Received: by 10.15.45.8 with SMTP id a8mr39033527eew.1.1378817402840; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) Received: from mail-ea0-f181.google.com (mail-ea0-f181.google.com [209.85.215.181]) by mx.google.com with ESMTPS id l4si14846080eew.131.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:02 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.181 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.181; Received: by mail-ea0-f181.google.com with SMTP id d10so3804770eaj.26 for ; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) X-Received: by 10.14.87.135 with SMTP id y7mr2813349eee.69.1378817401385; Tue, 10 Sep 2013 05:50:01 -0700 (PDT) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginmedia.com. [92.233.57.238]) by mx.google.com with ESMTPSA id z12sm31123277eev.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:00 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jic23@cam.ac.uk Cc: arnd@arndb.de, linus.walleij@linaro.org, denis.ciocca@st.com, linux-iio@vger.kernel.org, Lee Jones Subject: [PATCH 14/38] iio: accel: st: Append _accel to accelerator sensor device names Date: Tue, 10 Sep 2013 13:49:15 +0100 Message-Id: <1378817379-8238-15-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1378817379-8238-1-git-send-email-lee.jones@linaro.org> References: <1378817379-8238-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Some of ST's sensors are appended with their sensor type and some are not. For consistency we're extending the same naming convention throughout. Signed-off-by: Lee Jones --- drivers/iio/accel/st_accel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/accel/st_accel.h b/drivers/iio/accel/st_accel.h index c387763..d8d22e5 100644 --- a/drivers/iio/accel/st_accel.h +++ b/drivers/iio/accel/st_accel.h @@ -15,11 +15,11 @@ #include #define LSM303DLHC_ACCEL_DEV_NAME "lsm303dlhc_accel" -#define LIS3DH_ACCEL_DEV_NAME "lis3dh" +#define LIS3DH_ACCEL_DEV_NAME "lis3dh_accel" #define LSM330D_ACCEL_DEV_NAME "lsm330d_accel" #define LSM330DL_ACCEL_DEV_NAME "lsm330dl_accel" #define LSM330DLC_ACCEL_DEV_NAME "lsm330dlc_accel" -#define LIS331DLH_ACCEL_DEV_NAME "lis331dlh" +#define LIS331DLH_ACCEL_DEV_NAME "lis331dlh_accel" #define LSM303DL_ACCEL_DEV_NAME "lsm303dl_accel" #define LSM303DLH_ACCEL_DEV_NAME "lsm303dlh_accel" #define LSM303DLM_ACCEL_DEV_NAME "lsm303dlm_accel"