Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3625353pxj; Tue, 15 Jun 2021 05:15:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycnnlKilH0rX6xNNyI/ImpkrukFVf+lrQ6+ImjXbeqMc/vZcy+RQshqWlBqvvryJryXU6f X-Received: by 2002:a05:6e02:108f:: with SMTP id r15mr16995113ilj.86.1623759311812; Tue, 15 Jun 2021 05:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623759311; cv=none; d=google.com; s=arc-20160816; b=HWsir20tvDj6Pd7hAT7yOY/KPYrY3m9qBDkcJrO0XHWJvpMd0et2qAm/sLG5/FANU5 1mEuCsc9CncTZe/H2NT8tAzhgD6O57bw5AuenaswuZ7n0g/ZVzJAJPjdTCuiJG1v4V85 O2Y3+1zRBKLcCThsi3r0c0iPIc9RUaIuAtnqC3l0QOygW6HZd5uvpwWgUpyBZtfHD3gq yN1yUgC3eBmGHPXlDH57Q6qQ5D3eb2S2Lioe0ZYleapSu1BakDspRcL3RmiveewYP2Y9 x23MzjA+q7UQUabhCeSFLNZTC+Jd6q4WTOKwfJDfBtWeHmdxj2LbO+NOAxq1MJOCRgx0 4gSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2yUpdKXuueEJR7Grd51IuYKFivE+uAw9SSis33zJwE0=; b=SG2bq2Ntq2nepi+Gj6KZFaSwZMeXP6wDNvVbXvvpKG3Q/BJ7yEvSPWTibnxX02QZ6j W/1ZXRY0/XQXs0oSAKnY/cOKUipKC6sLJ69iPETiNjWBOr3ZQ4tVqyvikq3sb/JA+KNl vzowFpxrVLFyTGh76NRN1rDNKaKGiJTXYSphrMLr2x8SczSMRi18PqcogT9lkBaqfNj/ BR5vhAeguurtrMOBpJZc+EyA8y3Tr8Ka7f55vYgbcIuA2pOohEyR3k8wq8Fmz06iRPVn pQoAIuuVQZOOT6537P6llsL+5DYqFW0A6EPUl/4KujwRTiXduaJOxlr/BkQIC1hWP+Bk wLAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pJ2fJ0cJ; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si19529412ioq.17.2021.06.15.05.14.58; Tue, 15 Jun 2021 05:15:11 -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=@linaro.org header.s=google header.b=pJ2fJ0cJ; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229909AbhFOMQQ (ORCPT + 99 others); Tue, 15 Jun 2021 08:16:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbhFOMQP (ORCPT ); Tue, 15 Jun 2021 08:16:15 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D38BC061574 for ; Tue, 15 Jun 2021 05:14:11 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id c18-20020a05600c0ad2b02901cee262e45fso984558wmr.4 for ; Tue, 15 Jun 2021 05:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=2yUpdKXuueEJR7Grd51IuYKFivE+uAw9SSis33zJwE0=; b=pJ2fJ0cJzz+8f992aJWBPE92ZJ03fRJ4kVQTNEhTf0+gaIcuroQkOQ1sumb4hrdxg0 Qz1ZNFbvo8JPtAjw7VTceo1lvapPx8rrSmaMZqkBwsl4OiqdmoYpBZwl/Vl3Bc2jZ6sR cNdWzN7JfnCmWvYm8zhYUkTA/c95PbbWW2vCmc5JiwZIUtgCdKKn+mYwOfprBmJGOQel /QnIdsEquLtKIiPYkNl+PzVViWlHZKAyg/lif00XN7L3MXbma4jv/0wjwOMp0gWsT1qQ bJTlf4zqb9/qkl6u7quDy8GfpJpUrYmDm2fNSjrdfe9y2e/yqjjtEweUQdiFHlFmmnPx gBWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=2yUpdKXuueEJR7Grd51IuYKFivE+uAw9SSis33zJwE0=; b=oHIDj6bVemh36RveHWiVwN3nHX6d/zVklqPpxsO1t7DcdgMjDVSJUsLNj7mGPJvO29 dY79p7rVAhXth1ZOVqUsYTuP19VaaEXNLe31r/EvFMzJA7tsDzg35WUUiXX4KqroOjVQ h85Ow48Y/yBJ/NFG0aBUj97s3C58Lmm1QnKwoWxkS4KLLmBhMcCXso630tBF19NjrsWv GjuNqjpK/c736WbamDHUrRjoJkuOoW81sMLCutfe5kEGquEotZjPwginHl3Lznz/3343 FleUXh3QCjIRZ9e7R2nYF09B+AVO3Iy3Yq37oJeWZ0jNU1KRYvfPa5bbv7d/iM7Mq2jW BkjQ== X-Gm-Message-State: AOAM5305aA+7ZKpvSevXUmY9OkqcDD3OsrSxKdxdBAHKt40WQADr9rWf 6U5GmDdDy6s1zBybQv5rxhlY4w== X-Received: by 2002:a1c:1dd3:: with SMTP id d202mr22280104wmd.78.1623759250081; Tue, 15 Jun 2021 05:14:10 -0700 (PDT) Received: from dell ([91.110.221.170]) by smtp.gmail.com with ESMTPSA id b26sm2045476wmj.25.2021.06.15.05.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 05:14:09 -0700 (PDT) Date: Tue, 15 Jun 2021 13:14:07 +0100 From: Lee Jones To: Zhen Lei Cc: patches , linux-arm-kernel , linux-kernel Subject: Re: [PATCH 6/9] mfd: kempld-core: use DEVICE_ATTR_RO macro Message-ID: References: <20210602114339.11223-1-thunder.leizhen@huawei.com> <20210602114339.11223-7-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210602114339.11223-7-thunder.leizhen@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 02 Jun 2021, Zhen Lei wrote: > Use DEVICE_ATTR_RO macro helper instead of plain DEVICE_ATTR, which makes > the code a bit shorter and easier to read. > > Signed-off-by: Zhen Lei > --- > drivers/mfd/kempld-core.c | 19 +++++++++---------- > 1 file changed, 9 insertions(+), 10 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog