Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754112Ab3IJM5m (ORCPT ); Tue, 10 Sep 2013 08:57:42 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:42292 "EHLO mail-ee0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752174Ab3IJMuD (ORCPT ); Tue, 10 Sep 2013 08:50:03 -0400 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1360 Lines: 39 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" /** -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/