From patchwork Tue Sep 10 12:49:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19871 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B275C246A4 for ; Tue, 10 Sep 2013 12:50:07 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id k18sf29695904oag.10 for ; Tue, 10 Sep 2013 05:50:07 -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=alkJLBCZKdrUDCxo++8tKG2g1uL+AnSlZjZ/5YB/oFk=; b=cu7N82HupezCtwy0T3Ih+489VNM5Ffhc1LbczQHMlP9yldXWa5KMNsx5xXqWAfRtD7 vvzaQIQyE9WHOBpkHQ1hc5Ihe2QU6T86KHwI+iAnZ1cnBY+ajh6Gl9Z5vHl2puIUDFEt r2ksgW4equ12sd6DGJW0GkbNP2zhpQZ+IOL2nGs/bMY131/hVzAJPdhMuPB0wua3zRNJ uSXnq7eubbBdl32oiRCpZuxTZ1Q/lCZ2YGlmYMDrEn8BlEGfzf++8hVuxs521iF31Hsd NfR2isIHmJMdSBmay38KS1k9Jo3SN9CHUaoKr537Xs+cnkRRzdcx6r4VG7bmNKrdGipj FpIw== X-Received: by 10.182.27.36 with SMTP id q4mr4346078obg.7.1378817407353; Tue, 10 Sep 2013 05:50:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.84.201 with SMTP id b9ls2139169qez.62.gmail; Tue, 10 Sep 2013 05:50:07 -0700 (PDT) X-Received: by 10.58.246.8 with SMTP id xs8mr23171673vec.9.1378817406973; Tue, 10 Sep 2013 05:50:06 -0700 (PDT) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by mx.google.com with ESMTPS id lr1si4395354vcb.94.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:06 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.49 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.49; Received: by mail-vb0-f49.google.com with SMTP id w16so4830040vbb.22 for ; Tue, 10 Sep 2013 05:50:06 -0700 (PDT) X-Gm-Message-State: ALoCoQnpT7S04PENMqZDEPm4uPuae0F0gdSnM2B0GlLK3LQip+TldWLYUjTp/0bIq23OjzaNI6Kw X-Received: by 10.220.186.202 with SMTP id ct10mr23309234vcb.14.1378817406888; Tue, 10 Sep 2013 05:50:06 -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 u4csp19393vcz; Tue, 10 Sep 2013 05:50:06 -0700 (PDT) X-Received: by 10.14.194.131 with SMTP id m3mr13051673een.45.1378817403497; Tue, 10 Sep 2013 05:50:03 -0700 (PDT) Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by mx.google.com with ESMTPS id 7si14817260eeo.259.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 05:50:03 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.46 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.46; Received: by mail-ee0-f46.google.com with SMTP id c13so3384805eek.19 for ; Tue, 10 Sep 2013 05:50:03 -0700 (PDT) X-Received: by 10.14.183.130 with SMTP id q2mr39221148eem.5.1378817402936; 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:02 -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 16/38] iio: magn: st: Append _magn to magnetometer sensor device names Date: Tue, 10 Sep 2013 13:49:17 +0100 Message-Id: <1378817379-8238-17-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.49 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/magnetometer/st_magn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/magnetometer/st_magn.h b/drivers/iio/magnetometer/st_magn.h index 694e33e..f185720 100644 --- a/drivers/iio/magnetometer/st_magn.h +++ b/drivers/iio/magnetometer/st_magn.h @@ -16,7 +16,7 @@ #define LSM303DLHC_MAGN_DEV_NAME "lsm303dlhc_magn" #define LSM303DLM_MAGN_DEV_NAME "lsm303dlm_magn" -#define LIS3MDL_MAGN_DEV_NAME "lis3mdl" +#define LIS3MDL_MAGN_DEV_NAME "lis3mdl_magn" int st_magn_common_probe(struct iio_dev *indio_dev, struct st_sensors_platform_data *pdata);