Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3626937pxj; Tue, 15 Jun 2021 05:17:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+zWwgM32dy/X6IPa4UaW2SSJ2P3km3FYuh67CwX2auUXZnULmJtc5CKm0gLkIhggxuh4L X-Received: by 2002:a05:6638:3885:: with SMTP id b5mr21452610jav.68.1623759434923; Tue, 15 Jun 2021 05:17:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623759434; cv=none; d=google.com; s=arc-20160816; b=Uen3PVP963Di124JoH+mC2a/jTods7gRjI1FThZ5m76cqwksoywI71cc8b+oebMHPa 14ZaJnE19GL8isE4O2O94aUiIUxiU8FUsYDSy1Cxx9yvpeR9RoMY94PP08x3xYmWp2MH 6M3gqsYLXcYF6BZV1wQmRN3l1AP2qTD2kpSd8blB2NVA/WH87IY6YvjlcF7tHupLyfEZ 4SSxi7atuYwCQYigmgEklbCa83EC4HmWhEcdzaxchoY5nqTQitLDWQQkWTGt3mPh5THn CZ9G1Goy+9CCmT1v03FKFi16b0/m/2uSytZzSLz5KxFW6pZc7C7VuJOaWJ2xrfo/Zpez JWrw== 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=59bkyyYwA5Alndf1/hcekhkhVORqh2nyBj19xriGPQE=; b=ZV1f8Qx4kbmEVENUmHbiHmHAOogyVuXpDf6CcWOCsXS4sLOqZcGUjLotvXrYbErN9z N/UowubDpKPujaVPExmEV9V1I7QFsBKpplDCMmOgD3AivyXvSK3YhQsrxsAVtd8sJSwg tIRJWZKcu/364tGuX3iT+Ncakn6rol2xQXEgNyX3qnu0utcpRh7mZZ4p6fKlAwI/GniS csbgZmp33a7lqH6DBeniwK+v0seKc6mULlFx1Ru9tAn3yXKEE+ip/MGkE9rjJfWsbZKQ iaKG0QGG2JbbsfvaGfO/IwZIZj/UbCdYFvDGikFbvvn2N3ZxO8r6KPH3YrypOr6eOd42 nkBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uUFMKUyj; 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 c17si20853112iob.43.2021.06.15.05.17.01; Tue, 15 Jun 2021 05:17:14 -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=uUFMKUyj; 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 S230269AbhFOMRa (ORCPT + 99 others); Tue, 15 Jun 2021 08:17:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbhFOMR3 (ORCPT ); Tue, 15 Jun 2021 08:17:29 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D562C061574 for ; Tue, 15 Jun 2021 05:15:23 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id f2so18078297wri.11 for ; Tue, 15 Jun 2021 05:15:23 -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=59bkyyYwA5Alndf1/hcekhkhVORqh2nyBj19xriGPQE=; b=uUFMKUyjVW1PYJkOHDZfWmvX5ib7kFcrGnDjM6xoyFBfRHIZjmYr/06XFIOoQqR8E5 stfsdJHSQMU4Np03ccBzkAdX63SQef+y36cI+ri2hzH8GYJC5owNua1ifNNSPdy0FhQj mDa0opiBAaCj3pB3982JrvTJYTCZxEjnJMH3Gh6KatIHm2I4LbpOiJeaesr8OcwM7qy0 w4Cx70ZVtXOhcoDlFCbDcFvcZ+HL2/2Da7riKLGKlOrD5VlrI/xeBHjaGOQ3CSaXw2QX 9YOyXxmWcv3KwJtGrAHZY1YIVYoFkQZaJmc4MnmtFDO7teAthbNXkXJx8tMXjrav9tmp EzIQ== 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=59bkyyYwA5Alndf1/hcekhkhVORqh2nyBj19xriGPQE=; b=a+vpIb8aNRHy3FmuJZ1BwNoiF4edWXWZvMmDoD71lfmSOuRZFj5AZ72iu4A4fqlHfF hE95Cg939vyjNwYna2oUQkAhi8CQqI7QXM2alt11ZRrbdhy1RmFo+aiYhjcvPtYpZeN6 sHp6nYy/owPQR5nofGZQ6uI8fKD3BUjnCvJIWhbTyUmeOB29dSYHEsiPpeaFj4yTtt7Z rzCMXrovc+9HDMycI6xyUU0gtvTYfXgWk3g1Asd66RgdhLazPd9DuNfsXuXStno8fPiM iO1LwY9rfKpFH3YDfXe2pzNg4z08Gv7nyJuH12HWdu99Cqs4/GNiTpQmA1clSAczZxGM nQtQ== X-Gm-Message-State: AOAM530Lc8A5PHpHedKgKS4AHyPTFvei7WQhlA25PecSgNdwVS4IFuIR IXMWBHsog31CBLuJbgKVQGVFVg== X-Received: by 2002:a5d:6a82:: with SMTP id s2mr5443378wru.247.1623759322073; Tue, 15 Jun 2021 05:15:22 -0700 (PDT) Received: from dell ([91.110.221.170]) by smtp.gmail.com with ESMTPSA id u15sm1977922wmq.48.2021.06.15.05.15.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Jun 2021 05:15:21 -0700 (PDT) Date: Tue, 15 Jun 2021 13:15:20 +0100 From: Lee Jones To: Zhen Lei Cc: patches , linux-arm-kernel , linux-kernel Subject: Re: [PATCH 9/9] mfd: ab8500-core: use DEVICE_ATTR_RO/RW macro Message-ID: References: <20210602114339.11223-1-thunder.leizhen@huawei.com> <20210602114339.11223-10-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-10-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/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/ab8500-core.c | 33 ++++++++++++++++----------------- > 1 file changed, 16 insertions(+), 17 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog