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 EDD81C4332F for ; Mon, 21 Mar 2022 10:49:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346462AbiCUKui (ORCPT ); Mon, 21 Mar 2022 06:50:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240532AbiCUKug (ORCPT ); Mon, 21 Mar 2022 06:50:36 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D779F1C920; Mon, 21 Mar 2022 03:49:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3C74AB811BE; Mon, 21 Mar 2022 10:49:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A74AC340E8; Mon, 21 Mar 2022 10:49:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647859748; bh=1XzuE1mkXqD0j+4Q6vb5nPgTLU+T40IwB7OS0cmE41E=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=jxohsmgScROjOx85jDEqGMztdXQq8/DLeu3aFQfwptRnRgeFtQH1YWGM3yTWDBx9K zMxGlD0vYnAyF4Vwg3lTgTSwpTh1Kyd2BG6VgxwU0Pvbhfg9XYfVziESgLMPHb9mOn cxzq7eKGhdzz1qZr7xs349r+WX4BMRtSSmI5VT793T+bNZ7zyuFSv4NZ4wkUyoVM+T 22bawrFISzckuS7OBrH8H/5Th0ss1sgNh63kfwyKVetlOfZ5C+jHtShIkkI6Vpv0L2 pCzpbzOWumN5Ed37EtWk9U5S+ZEj7lKQ+hOCcjdWQvKU80W06aUjKYc1zQTVrwYtOl w86Nlt22iHEpg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] net: wireless: ath10k: Use of_device_get_match_data() helper From: Kalle Valo In-Reply-To: <20220318025331.23030-1-tangmeng@uniontech.com> References: <20220318025331.23030-1-tangmeng@uniontech.com> To: Meng Tang Cc: davem@davemloft.net, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Meng Tang User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164785974519.19083.15212520438409516614.kvalo@kernel.org> Date: Mon, 21 Mar 2022 10:49:07 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Meng Tang wrote: > Only the device data is needed, not the entire struct of_device_id. > Use of_device_get_match_data() instead of of_match_device(). > > Signed-off-by: Meng Tang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. c4e9705c5012 ath10k: Use of_device_get_match_data() helper -- https://patchwork.kernel.org/project/linux-wireless/patch/20220318025331.23030-1-tangmeng@uniontech.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches