Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4560496pxj; Tue, 25 May 2021 10:40:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9VaLbinUUUjRlUDqTonve6DixvBMbPTsp71iFWjtBe4idvOwWyl/KPbU/7Ks37DB6DLTJ X-Received: by 2002:aa7:cdd8:: with SMTP id h24mr32651121edw.276.1621964452146; Tue, 25 May 2021 10:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621964452; cv=none; d=google.com; s=arc-20160816; b=L1/39DrxRi1Sjl1rHQb/jiBQVs+4lvgR2K0abXdP/bnp5ETBtcydjhXckSCfwKamu9 ZW0uf5oQVmW+m5tVw+7PHS+r2qJ0/kbaEIeaTif8K5UuJWIeojkZwWpGEj1yvBiHYVrB fv9jFsjtQMyQ7JfpYwkpZui9Z/VnvM/cVGbCWbXzgTZN9rvMUDRfzAHG7qAe0E+t6NGC ynFAEOvLkMfhRAF6Bd5muQoIJ/eVAS+ZFMQIJr84ETIVxxP7XDAnDVRTpOunMNeg0/Af LlBegqpQzY8JiNrFfckWB2hnD8786k3+M3Lu9CWb0D/iwEm3egExJMoGDv/BZucEuLmM hyFw== 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=0CPhgMB2lgOup1kygifBFb39H803MbQgcG6514/E4h8=; b=XBQzU+SNQqLehkOtrY5bmdU5BYyrbSwTXKIfza2wSJgwIji06lUyA3Mp1a2il8XQ4G mdyzP49+Ke9jx2EicWX45okaE0L3Vb8B7H+ipUjdeA4fCHQguvh5cjnuzOl3/fBu0v2u 67w89MVu6Vm6zmEmW20veF3N7bnEyb0MoRWkTcq41m6JeEWMUffSEDWwubINS2NWpLre EbW0YhvlFHBX2wav88lCQOWfM0tfCtKxrCUXQUfEua+rX/wD6aprkIj558YO5ei0Gg4f tH7YqV8pwGCJTpdMDtFAjG7f4E6MBIpZQhtfi7kXi5mxJxZttMyualt6Wy5Ei9CaNUL5 7efw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=nF5ygvZC; 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 dc21si16046608edb.209.2021.05.25.10.40.29; Tue, 25 May 2021 10:40:52 -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=nF5ygvZC; 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 S232661AbhEYP6f (ORCPT + 99 others); Tue, 25 May 2021 11:58:35 -0400 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:49402 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232634AbhEYP6f (ORCPT ); Tue, 25 May 2021 11:58:35 -0400 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14PFlE5W011728; Tue, 25 May 2021 10:56:15 -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=0CPhgMB2lgOup1kygifBFb39H803MbQgcG6514/E4h8=; b=nF5ygvZCgxxCqFQ2GAsQh+J/YbmAC3si9oXzKrItCB/2XYi7F+NDh4ovQzAvvw+FLlIf DfTtXDevS+G9iZwXC3Ua/mKtJQSRG428riWHxCSY3uu0BOBrlYisw2UMWN+5C6efjuOM qR9nkqKd9zQMzelj4dPLgr/xiUn5K30k6rog0vGcWyt2mSHlNiHFfqtXZw8JGgXDz132 kpLCcyRg4nAhVn3zONfmSMQJ9T+W/XW4JYoQukUYXYV7tw8aaVf1eNdsUGXvjNrnsAot f98qYgYnEbsg22v5RhHbyujQ62hAkmcmHbOi+LpQuWJTo+IHZZesy7+yK+C/F6ZPRZFw 8g== Received: from ediex01.ad.cirrus.com ([87.246.76.36]) by mx0a-001ae601.pphosted.com with ESMTP id 38r7ck9xmp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 25 May 2021 10:56:14 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) 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:56:12 +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:56:12 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id A51CD11CD; Tue, 25 May 2021 15:56:12 +0000 (UTC) Date: Tue, 25 May 2021 15:56:12 +0000 From: Charles Keepax To: YueHaibing CC: , , , , , , , , Subject: Re: [PATCH -next] ASoC: cs42l52: use DEVICE_ATTR_WO macro Message-ID: <20210525155612.GN64205@ediswmail.ad.cirrus.com> References: <20210524114239.7960-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20210524114239.7960-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-GUID: 3p6-TkACwukyvofnZ_frdG3D58RMClOd X-Proofpoint-ORIG-GUID: 3p6-TkACwukyvofnZ_frdG3D58RMClOd X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=913 adultscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 mlxscore=0 clxscore=1015 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:42:39PM +0800, YueHaibing wrote: > Use DEVICE_ATTR_WO() 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