Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3626794pxj; Tue, 15 Jun 2021 05:17:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwb4H92LsdL5sBqVhCDifhBxfNoFgA9OoETA3yiU65LLGyKY4tvTGbrN3jXLzIz2yPUdKRC X-Received: by 2002:a17:906:6d95:: with SMTP id h21mr20621347ejt.260.1623759420010; Tue, 15 Jun 2021 05:17:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623759420; cv=none; d=google.com; s=arc-20160816; b=s6PGZs6SWZ6KhEgkEZELCyxRkMHHnOWlJfZlzyTdvyWkeYGAl5ohqjmos9JaaQekmc +wtQNDqwjMnoiSd3szQ1XzFGs55TsbrZc1dx9AmWbRB8YQSTJG8RLdeM6io/j5CcW1AW 89PFb1Rnllt8oElvO6KudRRQspUKRc44eIqKCjvIFptX4odQughS131ZYQGl8Ybg/7GS POYHrjKqhDe9vFyihLkijy7Ge6WCxQ7h9uAlv1GF43mWZoB0TEqhjKjIjFXcMGZMDRVQ X4ckVgGdj9AWpsSBKB6TtGM7biPCT4Cg5gID4FMzHI7juYqAhmTFgGX39Q/5DJF33Q1e JoAw== 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=Rdzz7xWojrMyCCGqCmZSALbWRDi1+euSRVbevdeJrug=; b=K00E0Bd7lGB4KjmSMAPesft51Hn4DHjNiUTb/jm5wOJOrQ+9lHXI1bUF+IKskTC9rc zfNu9kFacMuOlU8dFR0coXB9sZBHY+XgKZOoCzh0IL6K2lWs5+5u8VKtrVGK3Me5Vzv2 ld3UpV1WhC4S0fta456wn56D1Tu0oZUBkT5MGtOEkQjz3/pWwcUwD9a1xVX2tomkD8+/ 1/hcoICKihSyMspJniqV1KMLVHdyfvYZBP5Lkq5LaMi2Z+p35FhpIE3+ty0XSrBjPCv/ xKqvtaGc7TMTciCUMdXLR/lSebH4/vDGWrlnQCOZzVzxwVKt1emmXxUsosRccSwetAqQ ClOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BtWz9PQG; 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 gg8si13867773ejc.230.2021.06.15.05.16.35; Tue, 15 Jun 2021 05:17:00 -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=BtWz9PQG; 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 S230218AbhFOMRI (ORCPT + 99 others); Tue, 15 Jun 2021 08:17:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbhFOMRF (ORCPT ); Tue, 15 Jun 2021 08:17:05 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D8D7C061574 for ; Tue, 15 Jun 2021 05:15:01 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id y7so18066877wrh.7 for ; Tue, 15 Jun 2021 05:15:01 -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=Rdzz7xWojrMyCCGqCmZSALbWRDi1+euSRVbevdeJrug=; b=BtWz9PQGfG1cHcv296o6tSKeKGQhMiBVxR9pzuSHZSQPJi8s371/BhLlyretX45TDT M53OsqnnQLafG5CburdDdK4A0yEstkDd7s+Cw9waHcJEVMOzDeDLo7tkIqTTPnAkSpN2 5QecazyvevtXtLHi8R+3Vt4bAVzjWUQAAabsLgQIz8D97L6vdWGYPhYeREdMUGkhcFAT rqVOb0n3N4i9c+qE9X9IJ1PvjkBMTOUJA7HBgQvLmNbSd3TIcC4Gew+AZYINejJ3owqK JVRT5eZjA9EC6pUoGmZJKyam/RqSTfJm1oVNjLhWsvh7fhJ1ZdgFXlkf8lhQ/R9Jdzmu OTCw== 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=Rdzz7xWojrMyCCGqCmZSALbWRDi1+euSRVbevdeJrug=; b=m7LXdpiRdHXpY5aL5hKy/iHz3X86fSsw4A+Yj+2NopRoC02M52B8+B3kyr61wBZpgG gMCmSy1jSPg1vg/TFItEJm9rAnBF/YzRmvCDtW6nyNA4q4OW+cuGl5bwn2WtOJXU5ITG cLBLBCKpiO+jGp5yk3uTqlbbOkeyZIfHeaXb4NUGd05c7SiG/E0iT4Vsx4SV2fHruxAm UwqQn2ah9duROte2+kYJp7HaA/aMIMSZ/Pcl/W5cQeEUZU9oxC0ZtPF538LrSK2QjCmK jLehPLaYormh//AOcUIU5DCVPxzzSvRBsj4I3w1XpXEWNxEDj+ZJO4BC84trFdIZDuTW +Y5w== X-Gm-Message-State: AOAM531IfXOqb53ptC2dpxkzkEmyWKXF6UEFYuwDJslag5fUxNNh1XSy 1GjRxwsGrQvFv1fVPFE9U9J1jg== X-Received: by 2002:adf:f382:: with SMTP id m2mr24961383wro.394.1623759299714; Tue, 15 Jun 2021 05:14:59 -0700 (PDT) Received: from dell ([91.110.221.170]) by smtp.gmail.com with ESMTPSA id k12sm2109748wmr.2.2021.06.15.05.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 05:14:59 -0700 (PDT) Date: Tue, 15 Jun 2021 13:14:57 +0100 From: Lee Jones To: Zhen Lei Cc: patches , linux-arm-kernel , linux-kernel Subject: Re: [PATCH 8/9] mfd: intel_soc_pmic_bxtwc: use DEVICE_ATTR_ADMIN_RW macro Message-ID: References: <20210602114339.11223-1-thunder.leizhen@huawei.com> <20210602114339.11223-9-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-9-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_ADMIN_RW 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/intel_soc_pmic_bxtwc.c | 20 ++++++++++---------- > 1 file changed, 10 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