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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70767C05027 for ; Mon, 30 Jan 2023 02:23:14 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 886D3843; Mon, 30 Jan 2023 03:22:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 886D3843 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1675045390; bh=+EVqGEjrVwllwAS9VYbU7+o3GlVlVhgJNUmZGyLKeic=; h=Subject:To:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=TFitLsBQ2vDk5dOgz7qhna8EPJ7zsWvhoM0sxNxL3ADh31dBvWAfdmkLNoztTELPd FXFaAizUUOm5Q+fftPu51I5asVbefx7KaF0iwizanlKNxUErgOo5GE//YL/LBdgdIY fUSOhJCSFSKjI+RZBgVIvH30TxQhCpkNQcfqeu6k= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 00D74F80494; Mon, 30 Jan 2023 03:22:20 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 31052F804B2; Mon, 30 Jan 2023 03:22:19 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E2FC1F80155 for ; Mon, 30 Jan 2023 03:22:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E2FC1F80155 Received: from dggpemm100007.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4P4sMs30m2znVPh; Mon, 30 Jan 2023 10:20:09 +0800 (CST) Received: from [10.174.178.174] (10.174.178.174) by dggpemm100007.china.huawei.com (7.185.36.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Mon, 30 Jan 2023 10:22:08 +0800 Subject: Re: [PATCH -next] ASoC: ti: davinci-evm: simplify the code with module_platform_driver To: Mark Brown References: <20230112135457.1490360-1-yangyingliang@huawei.com> From: Yang Yingliang Message-ID: <4a2aba94-4044-55c2-b18f-a218d4dbf9f4@huawei.com> Date: Mon, 30 Jan 2023 10:22:08 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.174.178.174] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm100007.china.huawei.com (7.185.36.116) X-CFilter-Loop: Reflected X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, tiwai@suse.com, lgirdwood@gmail.com, yangyingliang@huawei.com, peter.ujfalusi@gmail.com Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 2023/1/19 22:29, Mark Brown wrote: > On Thu, Jan 12, 2023 at 09:54:57PM +0800, Yang Yingliang wrote: >> The init/exit() of driver only calls platform_driver_register/unregister, >> it can be simpilfied with module_platform_driver. > This doesn't apply against current code, please check and resend. Because commit efe81e9a9273 ("ASoC: remove unused davinci support") is not merged yet, I will resend it after it's merged. Thanks, Yang