Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4144624pxj; Tue, 25 May 2021 01:10:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY+G91pctPq4HaBDerjc9wuh0hi9pZTdPeiMlLzMp4mEFoOts9/SsGLiA92PtHmNUsnmw6 X-Received: by 2002:a05:6638:44b:: with SMTP id r11mr28701347jap.85.1621930208401; Tue, 25 May 2021 01:10:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621930208; cv=none; d=google.com; s=arc-20160816; b=aOUuMJTvcqR1t845KsXxciMXlsxn2AhWbPFHIERualYQ3Ewp0etgJVWZ9x2HrRilLH XG5APwaCVjGbD+MB9BTnq5+bej55/+0G3ktUtgskdgyzoBkyfbPOEb/uLpROOtOFT940 2WZ8b9hLZP+vfeWVfIDcEA1Q9zzy2MNZ42hcnaariH4p2/cZloZBpeuMB+83EPEq8xjF J/sLNAPyyrrS+1bw/m2sShyuQv+rJo1KBVdRHwjDu/b8EN5hETSD0nz8dPg5ivyopg7Y m1+BPIzwY0CSSR4bBT08bFtJ76cTqnwT6YtO5kaVDuhFIGqfnR94RMrncFDVsujW0MJQ JTCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=/vYhgyzFyI7rCmhoXDX7ahW/FiU/hLkSLElpL/BxZu4=; b=NdaNtn2uPpBvOrrtMtRX6wBExYfZ4UpeRKb2sNtlR+B6a1zyiDWF68Cvhrw/mDk1rK 8XMVRNLiWKJ/0gZRGcYr8neP00Fz0gfSjeqyRD/37qGz6x9rwcV63UJGSKoWj46vMS19 0oj6m1OYZiJ0v1nzss8CAGeTB5kvnzZq4FeVesspe+N8G2yN8mgNRWti5xgcs/454K2a Lz3db2Ts11xwgL+yMcwiGc0lOwaXyx2joaTFtbl1pGEaL3zsE+9ALT/D6UOnEYPrHAWk UH12wURVDElWZeRPWQjYrZOk/u1zZ58yVDh7tuLtCU8r6OZssZmyTByWFReoLojxa0Pj OMJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=nKOBSYQC; dkim=neutral (no key) header.i=@suse.de; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si15275191jaj.29.2021.05.25.01.09.54; Tue, 25 May 2021 01:10:08 -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=@suse.de header.s=susede2_rsa header.b=nKOBSYQC; dkim=neutral (no key) header.i=@suse.de; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231430AbhEYHCW (ORCPT + 99 others); Tue, 25 May 2021 03:02:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:60448 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231319AbhEYHCU (ORCPT ); Tue, 25 May 2021 03:02:20 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1621926050; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/vYhgyzFyI7rCmhoXDX7ahW/FiU/hLkSLElpL/BxZu4=; b=nKOBSYQCHPz7kD/VVWTm5GgiEAR3celLJazS0ohCh9c9oW63ICa6C9hVNAghXi7rUKkO2R wnyebt1ne+Q42Sb4m/TPdxvuufRrpAWHCZJQSj2Z9RAI49cZjQ8jps6gPUBE0E5EqcVNKa uMU+AgQoJ5UIBcgOJTgd87SAuWbmkOk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1621926050; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/vYhgyzFyI7rCmhoXDX7ahW/FiU/hLkSLElpL/BxZu4=; b=+mL6F5Z/bxO6gbMQumGr67aRY/xcbUrtQjAaZkj1wT8tphymjE3aim4FXLfzCguIElxzca 2pTZlGmd/l5BwdAw== Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id BF33CAEA3; Tue, 25 May 2021 07:00:50 +0000 (UTC) Date: Tue, 25 May 2021 09:00:50 +0200 Message-ID: From: Takashi Iwai To: YueHaibing Cc: , , , Subject: Re: [PATCH -next] ALSA: pcm: use DEVICE_ATTR_RO macro In-Reply-To: <20210524120007.39728-1-yuehaibing@huawei.com> References: <20210524120007.39728-1-yuehaibing@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 May 2021 14:00:07 +0200, 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 Thanks, applied. Takashi