From patchwork Tue Sep 10 12:49:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19869 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B3EBB246A4 for ; Tue, 10 Sep 2013 12:50:05 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id l13sf4362557qcy.9 for ; Tue, 10 Sep 2013 05:50:05 -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=RGLHvLRIERYm+2lqNdSstMEvlh+VfuA3fwhL+wIprQk=; b=KqFIZnKjxfS8bABJ+W+dGug7TK1FkKSXBYzvhN82Qw8je9mUx09sb+KLqpQczlZkEA WP9U3aMxRs5C2zB2XVco/odAoq45HrhorLxqZv1jDgeWPVwu2SZrZce273dXIwG1sey6 EEEo9ndsHRL75xF/yk59LPIoGyON28U+2tviugIo98R/qegED0KvX0NnNBiLn1ZsvL4o mWt/rytZ+/Xqw81wgABgnLWcslb76eJZSdO0vYsRUT4dJIA4LbrG9ph75r7QduTUtJzF Owyq7WF1bls4gKxssdkpKiXO3kLU8qbB/yHrJkS5Y5ZU8NDfuHZlfLUGz3d3aunSK7oQ LVuQ== X-Received: by 10.236.52.228 with SMTP id e64mr4239837yhc.45.1378817405345; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.10 with SMTP id d10ls2268803qej.19.gmail; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) X-Received: by 10.52.162.66 with SMTP id xy2mr18306655vdb.3.1378817405052; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id he13si4397520veb.83.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.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id c14so4422307vea.24 for ; Tue, 10 Sep 2013 05:50:05 -0700 (PDT) X-Gm-Message-State: ALoCoQmhnuAzrA8vCFDHgIj7fHUnCIn7FL2Gg6fihXTQ0oMYNrgkGVzTz8qPDrHByQM+Gum3tz2y X-Received: by 10.52.231.5 with SMTP id tc5mr341091vdc.36.1378817404974; Tue, 10 Sep 2013 05:50:04 -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 u4csp19389vcz; Tue, 10 Sep 2013 05:50:04 -0700 (PDT) X-Received: by 10.14.109.201 with SMTP id s49mr3977972eeg.54.1378817402637; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx.google.com with ESMTPS id q8si14876919eem.0.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: 74.125.83.54 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.54; Received: by mail-ee0-f54.google.com with SMTP id e53so3934144eek.27 for ; Tue, 10 Sep 2013 05:50:02 -0700 (PDT) X-Received: by 10.15.94.201 with SMTP id bb49mr39294165eeb.23.1378817402166; Tue, 10 Sep 2013 05:50:02 -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:01 -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 15/38] iio: gyro: st: Append _gyro to gyroscope sensor device names Date: Tue, 10 Sep 2013 13:49:16 +0100 Message-Id: <1378817379-8238-16-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.128.179 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/gyro/st_gyro.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/gyro/st_gyro.h b/drivers/iio/gyro/st_gyro.h index f8f2bf8..5f0ec99 100644 --- a/drivers/iio/gyro/st_gyro.h +++ b/drivers/iio/gyro/st_gyro.h @@ -14,13 +14,13 @@ #include #include -#define L3G4200D_GYRO_DEV_NAME "l3g4200d" +#define L3G4200D_GYRO_DEV_NAME "l3g4200d_gyro" #define LSM330D_GYRO_DEV_NAME "lsm330d_gyro" #define LSM330DL_GYRO_DEV_NAME "lsm330dl_gyro" #define LSM330DLC_GYRO_DEV_NAME "lsm330dlc_gyro" -#define L3GD20_GYRO_DEV_NAME "l3gd20" -#define L3GD20H_GYRO_DEV_NAME "l3gd20h" -#define L3G4IS_GYRO_DEV_NAME "l3g4is_ui" +#define L3GD20_GYRO_DEV_NAME "l3gd20_gyro" +#define L3GD20H_GYRO_DEV_NAME "l3gd20h_gyro" +#define L3G4IS_GYRO_DEV_NAME "l3g4is_ui_gyro" #define LSM330_GYRO_DEV_NAME "lsm330_gyro" /**