From patchwork Fri Aug 18 07:55:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13357436 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 BB12AC71136 for ; Fri, 18 Aug 2023 07:57:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242522AbjHRH4v (ORCPT ); Fri, 18 Aug 2023 03:56:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358470AbjHRH4n (ORCPT ); Fri, 18 Aug 2023 03:56:43 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3B8DD4202; Fri, 18 Aug 2023 00:56:16 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.01,182,1684767600"; d="scan'208";a="176955307" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 18 Aug 2023 16:56:06 +0900 Received: from localhost.localdomain (unknown [10.226.93.81]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 197A241BBD56; Fri, 18 Aug 2023 16:56:02 +0900 (JST) From: Biju Das To: Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Biju Das , Lars-Peter Clausen , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Andy Shevchenko , linux-iio@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 0/5] OF/ACPI/ID Match table improvements for ak8975 driver Date: Fri, 18 Aug 2023 08:55:55 +0100 Message-Id: <20230818075600.24277-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-renesas-soc@vger.kernel.org This patch series aims to improve OF/ACPI/ID Match table improvements for ak8975 driver. * Converting enum->pointer for data in the match tables saves code meory in probe() * Sort OF, ID and ACPI tables for easy maintanance * Dropping deprecated enums from bindings and driver for saving memory. This patch series is only compile tested. Biju Das (5): iio: magnetometer: ak8975: Convert enum->pointer for data in the match tables iio: magnetometer: ak8975: Sort ID and ACPI tables dt-bindings: iio: magnetometer: asahi-kasei,ak8975: Drop deprecated enums iio: magnetometer: ak8975: Drop deprecated enums from OF table iio: magnetometer: ak8975: Sort OF table .../iio/magnetometer/asahi-kasei,ak8975.yaml | 7 -- drivers/iio/magnetometer/ak8975.c | 81 +++++++------------ 2 files changed, 30 insertions(+), 58 deletions(-)