From patchwork Sun Jul 16 17:52:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13314854 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 C03E1C001DE for ; Sun, 16 Jul 2023 17:52:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229575AbjGPRwZ (ORCPT ); Sun, 16 Jul 2023 13:52:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjGPRwZ (ORCPT ); Sun, 16 Jul 2023 13:52:25 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B09A19F; Sun, 16 Jul 2023 10:52:23 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.01,210,1684767600"; d="scan'208";a="169303045" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 17 Jul 2023 02:52:23 +0900 Received: from localhost.localdomain (unknown [10.226.92.32]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 3CD1E400941A; Mon, 17 Jul 2023 02:52:19 +0900 (JST) From: Biju Das To: Jonathan Cameron Cc: Biju Das , Lars-Peter Clausen , Michael Hennerich , Puranjay Mohan , linux-iio@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/4] Use i2c_get_match_data() Date: Sun, 16 Jul 2023 18:52:14 +0100 Message-Id: <20230716175218.130557-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Use i2c_get_match_data() to get match data for I2C, ACPI and DT-based matching. This patch series is only compile tested. Biju Das (4): iio: accel: adxl355: Simplify probe() iio: accel: adxl313: Use i2c_get_match_data iio: potentiometer: mcp4531: Use i2c_get_match_data iio: potentiometer: mcp4018: Use i2c_get_match_data drivers/iio/accel/adxl313_i2c.c | 4 ++-- drivers/iio/accel/adxl355_i2c.c | 15 +++------------ drivers/iio/potentiometer/mcp4018.c | 4 ++-- drivers/iio/potentiometer/mcp4531.c | 4 ++-- 4 files changed, 9 insertions(+), 18 deletions(-)