Received: by 2002:a05:7412:3210:b0:e2:908c:2ebd with SMTP id eu16csp980414rdb; Fri, 1 Sep 2023 09:14:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFo4yF8uiNaRzkSsHEgJZJOW0BPx9UMe0ouF7ZVtT0Q9vI/eA18pjiFHeCIbTdmiM7X0uNY X-Received: by 2002:aa7:cb57:0:b0:522:bca7:2a20 with SMTP id w23-20020aa7cb57000000b00522bca72a20mr2305755edt.17.1693584861483; Fri, 01 Sep 2023 09:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693584861; cv=none; d=google.com; s=arc-20160816; b=n3VSIpxtngbpaFnSulddOQJnyhDKen21ogOOpwb0itERQ8dqUJI8GYTCJcsME+uVWc /swnEZk5Snk6wsb1w6tWFUIyCPhB9sFWU7EYmcnJyaz4M0aMJlsKrxXXSJ+kGQNl40vI OsG9hu/su4FY8ET4Z0RP/89w5tf7pzc1tVtL3sHePH1wxSbSvunSimd9jTqjZ+qqq/f+ XT4Xx44+PQfdupcgpWBiSqH6tvlkchjSPPXj29ZFl52HPhbPr04NIixd0vhUaw0rj4B2 eUOSiuWVBc9ENDygr/BDaR0KexiqPpJhUMkjxnLhRWrkggYHOqZrvFWGnzaNQROPG1jG 1jDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+PRdD3NbiBT1NDdaYlbEjyExPPW+U5MILhJTrF6/HCk=; fh=TuYOsclT2+Y56rXH3knQ9yzreL+Q66+Rs2eHdbNC+ss=; b=kB++CAFzJkcmBQlg359fbvEGj8XSN3L6mY+kOXuK/s9hz61LGyUqlMCE9gUEfMfSL+ Iraj5pmaIdMrYXbbP3sk9p54r2Que2tNYM9MeSktspH2b7v5LbTyDm7Ly84fDBp7DBr7 NRkf2IQWQA5NbPYbmxCy99igAlsnMUmg0GMVyt57hj5c4AVQsdzxlBlsXfvI6KS9ykYA pF26rDsGix5JSioUDDe602SJtZVnYJZmuB85/J7Ro/MEObuAMF1bEh3EDJr0641xEygW ZVcIfTnXFH1dHHDzcUYmSXWL9iS5XtJBOcb3/ycuptcGrCsiKWFLZGfv7XruP2YOnJ33 bFbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w21-20020aa7dcd5000000b0052541858dfesi2889214edu.594.2023.09.01.09.13.45; Fri, 01 Sep 2023 09:14:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347443AbjHaUrt (ORCPT + 99 others); Thu, 31 Aug 2023 16:47:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234996AbjHaUrr (ORCPT ); Thu, 31 Aug 2023 16:47:47 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9212B1B0 for ; Thu, 31 Aug 2023 13:47:40 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.02,217,1688396400"; d="scan'208";a="174635226" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 01 Sep 2023 05:47:39 +0900 Received: from localhost.localdomain (unknown [10.226.92.179]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id E3E31402951B; Fri, 1 Sep 2023 05:47:36 +0900 (JST) From: Biju Das To: Jaroslav Kysela , Takashi Iwai Cc: Biju Das , Liam Girdwood , Mark Brown , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Andy Shevchenko Subject: [PATCH v3 0/2] Match data improvements for ak4642 driver Date: Thu, 31 Aug 2023 21:47:32 +0100 Message-Id: <20230831204734.104954-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series aims to add match data improvements for ak4642 driver. This patch series is only compile tested. v2->v3: * Patch#1 for cleanups and patch#2 for simplifying probe() * Replace local variable np with dev_fwnode() * Replace dev_err()->dev_err_probe(). * Remove comma in the terminator entry for OF table. * Drop a space in the terminator entry for ID table. v1->v2: * Removed forward declaration ak4642_of_match and ak4642_i2c_id. * Restored error EINVAL. * Used dev_fwnode() and replaced dev->of_node. * Removed comma in the terminator entry. Biju Das (2): ASoC: ak4642: Minor cleanups in probe() ASoC: ak4642: Simplify probe() sound/soc/codecs/ak4642.c | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) -- 2.25.1