Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 734B8C7618A for ; Mon, 20 Mar 2023 16:40:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232246AbjCTQkj (ORCPT ); Mon, 20 Mar 2023 12:40:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232748AbjCTQjw (ORCPT ); Mon, 20 Mar 2023 12:39:52 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE60C652 for ; Mon, 20 Mar 2023 09:35:11 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id r5so13779114qtp.4 for ; Mon, 20 Mar 2023 09:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679330108; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=G3wG6rEfzY3a/pPPHxhzV3pI6TX/R3uM7yxw4I2R1k0=; b=ZTEeMKkZFBFtosRuB5/lHIz1G5ZdZXcNwFy+JH2tMAIPpYPcCVjDJuAZux352izzsc 8N3GrVNhOwS7mHH5maW9qck7A1QTMdHpK/+LS9PYxMV61XY+Mk4BH9taKrFriVtQ1eRi faZnkukqj3dDci3nv8RbQByxS1Dn7ACcTrtPXE/zhPitn9mV58LuS9dcLrHTtA9U/g4k QQROYpbpWoUbKeWfk415iEPuflomY6Os6VwrZuEXcuhvHV2ycFH9Pbay6OVwx9DwG2UM ZkvBCVNp4tA+z3oDurzuBnNLf/HpU2fCSJe4aOOWa/3kxqeQZIJ8qW0JRyx/6KZ1x3Hy ZxRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679330108; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G3wG6rEfzY3a/pPPHxhzV3pI6TX/R3uM7yxw4I2R1k0=; b=utHheRmS0fzqiI1CgrV18+CxOp6l3Kcb9DL8h3pwb+7V7PD4MBi9aQspPe5uRCplTE cw+tZYv5J5BBP7KSF469kCcsNYbd1/XHI8AgTkVc7k9P6O1bJVbCaw/nOtzAQw5ACOhh 4zy8daFKgf7qvr+/AultssT6GAWEAK0EJlD4Vnv40fNfoq8ljAzls/HFPrTU0Fm7kYMF tyhQtQtMMs9jm3SLZ5ZxwtYyztLmcdaJ57htttfeH1bv6AWcpHuUoxGxJxuNLdnVbjFu c9vIwGoT9EiXwubWPSlzqQSBfJXeSKiR7U3p7/C0mXDedIArDGzqxj+SGzcnctHcp72A vPtA== X-Gm-Message-State: AO0yUKWEqs0YzUGwn41wrFAsEJfnK/566R6I8M9aXfAr0By7kZJViddU 4zkRkeFInpOP7wSVLn9nFV4qVw== X-Google-Smtp-Source: AK7set+xax6n8qp1G3k+YetjEstKFTYXkszcVMuMHXBSmSur5d4Z36t55MigotMfZf4+7+0o/ODrQg== X-Received: by 2002:a05:622a:156:b0:3bf:ce2f:576c with SMTP id v22-20020a05622a015600b003bfce2f576cmr28848579qtw.66.1679330108375; Mon, 20 Mar 2023 09:35:08 -0700 (PDT) Received: from fedora (69-109-179-158.lightspeed.dybhfl.sbcglobal.net. [69.109.179.158]) by smtp.gmail.com with ESMTPSA id w5-20020ac86b05000000b003b9bca1e093sm6832663qts.27.2023.03.20.09.35.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 09:35:07 -0700 (PDT) Date: Mon, 20 Mar 2023 12:35:05 -0400 From: William Breathitt Gray To: Andy Shevchenko , Jonathan Cameron Cc: Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: addac: stx104: Migrate to the regmap API Message-ID: References: <20230319202256.352939-1-william.gray@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Mo70mDQ9Y5gMfduf" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Mo70mDQ9Y5gMfduf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 20, 2023 at 05:51:32PM +0200, Andy Shevchenko wrote: > On Sun, Mar 19, 2023 at 04:22:56PM -0400, William Breathitt Gray wrote: > > The regmap API supports IO port accessors so we can take advantage of > > regmap abstractions rather than handling access to the device registers > > directly in the driver. >=20 > ... >=20 > > -/** > > - * struct stx104_iio - IIO device private data structure >=20 > I believe this... >=20 > > - * @chan_out_states: channels' output states > > - * @reg: I/O address offset for the device registers > > - */ >=20 > > -struct stx104_iio { >=20 > ...and this can be left here. With that the diff won't be too disrupted. You're right Andy, I'll adjust this in v2 so the diff becomes clearer (along with some bitfield API adjustments). William Breathitt Gray --Mo70mDQ9Y5gMfduf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZBiLOQAKCRC1SFbKvhIj K4mhAP0X4e0URt1B/OmADC0I6wHTfGwBjKH5mtvHT1WW1wuHigEA61l1xgzekaCf trv33LQPL/2RPR54pEiYhuTyf6u/+gw= =KM3F -----END PGP SIGNATURE----- --Mo70mDQ9Y5gMfduf--