Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4561648pxj; Tue, 25 May 2021 10:42:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymg1VL67F2R3kc9wAt+14ssuO6QPjinvf7BudnlZ3rKWHV/Y5C71YHp61O6hgUtLYd5NYe X-Received: by 2002:a17:906:1806:: with SMTP id v6mr9860946eje.454.1621964555048; Tue, 25 May 2021 10:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621964555; cv=none; d=google.com; s=arc-20160816; b=X+0G4H7RiE4Ll4JREzbUl4MQpadronUo6ARF+BEFsJic+lkSuaOuAiDhRDrk0lLU72 oMdTkzGWfsxJY4ksDA9D0paJtBaT6+l18aPqdJn7KlidI+TAFnzIj1Icd7g1Z9Hm52S8 pKwCSqjalRmKIQO4NMmiMEZwDcdNpbQwU2PXhcADl2QoDfM/YASGsmaIGump2GIbyzvK j6CDRTrggBx0QewzRTGGV/mOcVtPfbfSJVt9DY362MT4UWvLnf6DNjbbiU/jPJakSLZh QuJKc83s77+Q3ig6ml7k4k3297/plHwoVd5KNJD6s4XTMzs5VkroVgDYDUrKKO2Ovi3h ufLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=OSuPUQl6zW9rJXQ5zbuH8naKuH0NgOyvBLvoYkIVhs8=; b=kwrbQh2+CtCI97ghGqXwveJEl5uTasO+l2I7nrDpeoWd4Sf4BMFRAXaiT+9sRusTmm DhzzR/UI/OWbT6zIBBcv6mX4/YPAxVA40e0nhIFI/ETaAZ0V4I9y7DtBKviKunmt33Dl Wg1DLWb89OgOlHn7TwPE4qx7ICYxaJclqe2Cv+P1gsi5Vodtxt2KpGREwCVzCtoNWJvo bkdnrq0jqtN/7mv8AdNktBHEr0c5vruJcOQGR1H9RFmZDydxFJHcJkHNXRXA8xOsq6Jq jyBTMQeubcldQPVunl/TS5mkxeyfNKOvGFVwI+nJiRY3/7o2OWm9F5pPmnOYVDlReOMf 04IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=UEzbNbCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h17si16640324ejk.64.2021.05.25.10.42.12; Tue, 25 May 2021 10:42:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=UEzbNbCS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231346AbhEYP4g (ORCPT + 99 others); Tue, 25 May 2021 11:56:36 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:4672 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230465AbhEYP4f (ORCPT ); Tue, 25 May 2021 11:56:35 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14PFlHo3006099; Tue, 25 May 2021 10:54:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=OSuPUQl6zW9rJXQ5zbuH8naKuH0NgOyvBLvoYkIVhs8=; b=UEzbNbCSrJO6oL8T8FX6reCosFpuhcpC1SaHXW11LPTGicWlDUpeYTOo2bQG+lnqaA4t EyueE/QEkiBS+VH4hzeB++SO/N1Wq2k9jyiD9yAPi44Gg8bk3dfxw8k72ElxSQ+49xFT uibkSNs5r479MvbVaPceiD+VzlOnowOXFoNWDSewfi65z5zRyHcatCBlP0YY5PXLsS5o XC+Y9WehGAecIoiN6Z4h9ytdON1nNeqc+F5PfS/Y5f1E3afPTv4CGbUJz+1MiLD2+bp0 VBBw6A3g3+KV9RnWSKIa9mmt+690iuiHScijrYWroXxzx3hhaRGm7fyuOoDLa5pU74Rg gA== Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 38r28v24ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 25 May 2021 10:54:05 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 25 May 2021 16:54:03 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2242.4 via Frontend Transport; Tue, 25 May 2021 16:54:03 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 7ABA311CD; Tue, 25 May 2021 15:54:03 +0000 (UTC) Date: Tue, 25 May 2021 15:54:03 +0000 From: Charles Keepax To: YueHaibing CC: , , , , , , , , Subject: Re: [PATCH -next] ASoC: cs43130: Use DEVICE_ATTR_RO macro Message-ID: <20210525155403.GM64205@ediswmail.ad.cirrus.com> References: <20210524114017.18672-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210524114017.18672-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-ORIG-GUID: jp7jjY9Dj_vKbFpNGvOeeH_MuDlYc8YH X-Proofpoint-GUID: jp7jjY9Dj_vKbFpNGvOeeH_MuDlYc8YH X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1011 suspectscore=0 priorityscore=1501 malwarescore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=913 bulkscore=0 impostorscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105250096 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 24, 2021 at 07:40:17PM +0800, YueHaibing wrote: > Use DEVICE_ATTR_RO() helper instead of plain DEVICE_ATTR(), > which makes the code a bit shorter and easier to read. > > Signed-off-by: YueHaibing > --- Reviewed-by: Charles Keepax Thanks, Charles