From mboxrd@z Thu Jan 1 00:00:00 1970 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 2243BC71153 for ; Mon, 28 Aug 2023 16:20:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231370AbjH1QTu (ORCPT ); Mon, 28 Aug 2023 12:19:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232743AbjH1QTm (ORCPT ); Mon, 28 Aug 2023 12:19:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61FEA12F; Mon, 28 Aug 2023 09:19:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E48B763304; Mon, 28 Aug 2023 16:19:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDF26C433C8; Mon, 28 Aug 2023 16:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693239576; bh=gFQvXyg/vDldrLxaeGv6Mmc+3uJgkUu964k7SBhhiXs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Bdzz+uQ1rifyOKTDVtaYuUylafipSPcS+7TY/+6648EKlQIP3dBWjfrmrHV1gbN7x nTj4NKOV6SFSzQH+JBN+BkVGR++LTjEfKoOxwzWndWDnuG1PHiSe1+nXe3v1azY5/5 ksls1RsBUnOVLmjoyZA6QLw0ubFtIs6RgF344C3Vua2l/COZTaQaxbEt0qlzUQ/808 0IZr6Icq/HikZVDBXHjGd3NM2sF9qtAv3xzbUNQl1U4xLL2EirrjxekERvKT3f41Yg spidwHvTQauss1Mdhsy2P/9jZx4Yx3qrMtTSAS11Bi5z1nCMErAjyQg5I4Oj3UVuJ3 XnduxqpQhI6FQ== Date: Mon, 28 Aug 2023 17:19:58 +0100 From: Jonathan Cameron To: Andy Shevchenko Cc: Biju Das , Lars-Peter Clausen , Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= , linux-iio@vger.kernel.org, Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH] iio: potentiometer: ds1803: Convert enum->pointer for data in the ID table Message-ID: <20230828171958.0828436a@jic23-huawei> In-Reply-To: References: <20230812144106.163355-1-biju.das.jz@bp.renesas.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, 15 Aug 2023 12:51:48 +0300 Andy Shevchenko wrote: > On Sat, Aug 12, 2023 at 03:41:06PM +0100, Biju Das wrote: > > Convert enum->pointer for data in the ID table, so that > > device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c > > bus type match support added to it. > > > > Replace enum->struct *ds1803_cfg for data in the ID table and simplify > > ds1803_probe() by replacing device_get_match_data() with > > i2c_get_match_data(). > > Reviewed-by: Andy Shevchenko > Applied