Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp6009152ybl; Tue, 27 Aug 2019 13:01:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrIoUz27O0ZDubhzMnaRneB/lgzHPvMk0owoUsb4IqBZmBOMD4pQPr+9uiQ793/5vUA5Y5 X-Received: by 2002:aa7:8b0f:: with SMTP id f15mr148198pfd.235.1566936113377; Tue, 27 Aug 2019 13:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566936113; cv=none; d=google.com; s=arc-20160816; b=ZOhbYe3/YgQ6hLOGtBbDIJO7VnI0fARSToYLiGv5Y1tyqJZdr6lC8nBIPdO1kO2aa5 Wn74m4EhaN2pq5lNZeaLk2C5WOQlsC/JlyCHWxIFcySjIyu4Vn+cqJNWfPZETodSS0tL RsXnU7pBhgttUOl4A0UF3JAfp9Y/AKSyJkcMZob/aVGnXovQVs/c9nMovwKNzXidLABh v8edsMODKpt2L6uhhE5hdujFLNVIFpZLsESaTSwllNTqjINxT1PmFOu2Ghwzgfp9UxQD Y6o7kzo3iHYYmpNePP8mpMsCVnwSf6rpKDyymIzvJeSOMrDC8Th1IP/vJntvFZ3ONzBw TAFA== 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:subject:cc:to:from:date :dkim-signature; bh=jP4v6YuRWet+j2+tSqN9VH0HKAGp6Mt6rej3Pc27LLc=; b=JI9uIqOTPsiOBwD5kcUU2UMNgi8WGkEs1wCt0dgawqMxvx6J0VCX4FFta3qwhqXtIN wP7bOnTBu7QddeMnmPk2cMJvgozkJCsdrYToHE0NXsue3WxgftudmnPNGZOL8MYg6rs5 Yc0oVBduI45suH5qnFxKgMIMhyga9LTcUGFo+I+rxArr60z9T10zoqlSREHvmTDoetNc kq1tIiGL/Bw7qv0agexmJ4tNuEDiK87jvhQBlF8V0HUs5v9uB1gOFQZqs8VgqQ+ywT1D fcNnFBLBptehL/BekI05bEVFeOD9geWdQGtxnn4NRk9B1DTAMUr70s9fTf26adAdK9zY yOGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=C7xIPols; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o21si189609pgm.453.2019.08.27.13.01.36; Tue, 27 Aug 2019 13:01:53 -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=@kernel.org header.s=default header.b=C7xIPols; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731239AbfH0T7b (ORCPT + 99 others); Tue, 27 Aug 2019 15:59:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:39676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730668AbfH0T7b (ORCPT ); Tue, 27 Aug 2019 15:59:31 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4731820674; Tue, 27 Aug 2019 19:59:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566935970; bh=ojJTAihZUqMEokPKLE9L8uVVoc+pBtHgjdGSEFAvIsk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=C7xIPolsj58PGtDH6xrvPEO8rj8ZGeHz2D/fVKx1Sd2oMn/kbkLfVpe7DzCFMiFH+ 6B3pqeptERTcxSzDSKtjh9TVklpUB5pB1dFzHq2oInQP8a9LMQhdEuxGVd+h0bpc0c jvNXvQzR7cO6WRrqlsCAIIKLNKyHv5pVIDQ1g/ig= Date: Tue, 27 Aug 2019 20:59:24 +0100 From: Jonathan Cameron To: Martin Kepplinger Cc: lorenzo.bianconi83@gmail.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Bianconi Subject: Re: [PATCH v5 2/4] iio: imu: st_lsm6sdx: move register definitions to sensor_settings struct Message-ID: <20190827205924.313344e4@archlinux> In-Reply-To: References: <20190821132520.28225-1-martin.kepplinger@puri.sm> <20190821132520.28225-3-martin.kepplinger@puri.sm> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 27 Aug 2019 08:54:57 +0200 Martin Kepplinger wrote: > On 21.08.19 15:25, Martin Kepplinger wrote: > > Move some register definitions to the per-device array of struct > > st_lsm6dsx_sensor_settings in order to simplify adding new sensor > > devices to the driver. > > > > Also, remove completely unused register definitions. > > > > Signed-off-by: Martin Kepplinger > > Acked-by: Lorenzo Bianconi > > --- > > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 6 ++++ > > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 31 ++++++++++++++------ > > 2 files changed, 28 insertions(+), 9 deletions(-) > > > > I just notices the commit message header typo "st_lsm6sdx" should be > "st_lsm6dsx" of course. If you can still rebase/force-push to testing, > would you be able to fix that? If it's too far out there already, so be > it :) sorry for the typo, and thanks for adding "-imu" yourself where > applicable. I can indeed. Fixed up. Added Rob's ack to the dt patch as well. Thanks, Jonathan > > thanks, > > martin