From patchwork Mon Jul 17 13:48:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13315801 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 BBCC9C0015E for ; Mon, 17 Jul 2023 13:48:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231817AbjGQNsP (ORCPT ); Mon, 17 Jul 2023 09:48:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231755AbjGQNsN (ORCPT ); Mon, 17 Jul 2023 09:48:13 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A84B2D1; Mon, 17 Jul 2023 06:48:12 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.01,211,1684767600"; d="scan'208";a="169508539" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 17 Jul 2023 22:48:12 +0900 Received: from localhost.localdomain (unknown [10.226.92.210]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id D0B58400CF1C; Mon, 17 Jul 2023 22:48:09 +0900 (JST) From: Biju Das To: Peter Rosin Cc: Biju Das , Michael Hennerich , linux-i2c@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , linux-renesas-soc@vger.kernel.org Subject: [PATCH v2 0/2] ltc4306 driver enhancements Date: Mon, 17 Jul 2023 14:48:05 +0100 Message-Id: <20230717134807.265302-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 is based on the code improvement work done for rtc-isl1208 driver and is just compile tested. v1->v2: * Added Rb tag from Geert for patch#1 * Added patch#2 for dropping enum ltc_type and split the array chips[] as individual variables, and make lines shorter by referring to e.g. <c_4305_chip instead of &chips[ltc_4305]. Biju Das (2): i2c: mux: ltc4306: Simplify probe() i2c: mux: ltc4306: Drop enum ltc_type and split chips[] drivers/i2c/muxes/i2c-mux-ltc4306.c | 33 ++++++++++++----------------- 1 file changed, 13 insertions(+), 20 deletions(-)