From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C05F463C for ; Wed, 4 Sep 2024 01:27:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725413233; cv=none; b=ak7FqrFOvsIEPeFJMlHBSCzjnvKB/s+zomc9u4MtqpA//L0nvF1AyEJLVK0sKWSvJeUdM1wk4NCvUZNAwqZpEWA36UmRZwp1DiAhUA7ycycRfMaiBZGJKo7p69DChEYHjA9qVk6G0/yy9PfAHaOEOhLAOeOqhMVzp//BWhlGQQM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725413233; c=relaxed/simple; bh=iTQTZmGNu7XqhC4rMffYfZH32Fiaq2tQgFElUVMGpTE=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=NmrtB1jBCpgpz9Jd0igmvPdBCpQZp4PmqVLjhhKPtgtgevaVat8x9M8kzwjElhWq6h06KZxUDQnyOTHdg589j89B8ud7XnjELYrH5PnweaKvm0/VxtuX7j8d11RZ7POy+03WX6U4eV9GoIUYNI+aaPO3TnmWSiFtvyJbAvxGLeE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Wz4Tv11ddz69LX; Wed, 4 Sep 2024 09:22:11 +0800 (CST) Received: from kwepemd500012.china.huawei.com (unknown [7.221.188.25]) by mail.maildlp.com (Postfix) with ESMTPS id 35A5D140158; Wed, 4 Sep 2024 09:27:08 +0800 (CST) Received: from [10.67.111.176] (10.67.111.176) by kwepemd500012.china.huawei.com (7.221.188.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Wed, 4 Sep 2024 09:27:07 +0800 Message-ID: Date: Wed, 4 Sep 2024 09:27:06 +0800 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 09/12] net: ethernet: sunplus: Convert using devm_clk_get_enabled() in spl2sw_probe() To: Jakub Kicinski CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <20240831021334.1907921-1-lizetao1@huawei.com> <20240831021334.1907921-10-lizetao1@huawei.com> <20240903151649.1b466145@kernel.org> From: Li Zetao In-Reply-To: <20240903151649.1b466145@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggpeml100007.china.huawei.com (7.185.36.28) To kwepemd500012.china.huawei.com (7.221.188.25) Hi, 在 2024/9/4 6:16, Jakub Kicinski 写道: > On Sat, 31 Aug 2024 10:13:31 +0800 Li Zetao wrote: >> + comm->clk = devm_clk_get_enabled(&pdev->dev, NULL); > > You can remove clk from the driver struct now. I don’t quite understand why clk can be removed from the driver struct, maybe I missed some important discussion information in the community, please let me know, thank you. > Please check if the same applies to other patches. Thanks, Li Zetao.