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 X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79FDDC2B9F8 for ; Tue, 25 May 2021 07:00:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 591A5613A9 for ; Tue, 25 May 2021 07:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231434AbhEYHCY (ORCPT ); Tue, 25 May 2021 03:02:24 -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