Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1631559pxk; Fri, 18 Sep 2020 19:19:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLdKSsOVHoA4U9OH5WLC8yXcDi7lgIcTygQOmfz4lV6GHAZjfFggP6XzIA9Z51vYqm+sE5 X-Received: by 2002:a17:906:7f0b:: with SMTP id d11mr40368338ejr.439.1600481941179; Fri, 18 Sep 2020 19:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600481941; cv=none; d=google.com; s=arc-20160816; b=lgM+dHyW8u18nDOq3egEwNgFHjtoVAiwMKBVn4IfTojYblLUaO1E3/pVKTj6w/4ooe ZM+cSm9bwggjsCLY2GGAHoIlkY4PRDa+G3+rCXqUYadOfOxbnaLPbCit0wCqBpfMhYSj 6oPoHj56vL6nXok4RJPJtj4T+HVKTCybYwV7c+LZy6glBVQW7CT5Oy7b5nv7dfewBwyL 1938UUtJfjIC8IndNRzccp6LJ04YTyNePfjihAs6tlwtIA7xQp+REWIVRbHdZSoSQAuv 8vMk3fBYtWruaqHCHWz6WDxl4QJ4WFLYpBX6oqy3mAXa2UwPqw/gWKOgLykJaVGrpvB7 Zo6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=FoSAiQcBIC+vJyZ6cx6MHnwfRVXa11N9zvIrjSCARdQ=; b=LI3o1OfjfegrbY5Wj+p9WNNXi+q+iEHtM4agtJ+9RBA92NRFcuMwJQEi5O+6j0a3BQ /vqaGNSVBZ/oodpPhaw5h0GIvBfkZ4TdsxVPXnmKFznxSOu+/THtq+KQullEcb75MoRa R4JA15z9A4Tga/1RG328UuksX5Oztb+TSBy9uOPX8RvDy53EWmpXw9mK9cXMYxZDhFHC WOOKllGVabNGMNjJL9PbvwXILKmU+jFOfZru/hwiHjMbd9xx5xGHJxxPLUtmIvYAUu9/ Qz7LjHOjqNrKnP6F5+9e+tJ/T7Y/GKgdq12GW8gs5QRvreLPvne+R6aVjMSp009jYD2g asvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 u2si3559338edx.5.2020.09.18.19.18.37; Fri, 18 Sep 2020 19:19:01 -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; 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 S1726151AbgISCRj (ORCPT + 99 others); Fri, 18 Sep 2020 22:17:39 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:13707 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726009AbgISCRj (ORCPT ); Fri, 18 Sep 2020 22:17:39 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id B07AE3937706E353A1AF; Sat, 19 Sep 2020 10:17:37 +0800 (CST) Received: from [10.174.179.91] (10.174.179.91) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Sat, 19 Sep 2020 10:17:36 +0800 Subject: Re: [PATCH -next] mfd: Convert to DEFINE_SHOW_ATTRIBUTE To: Lee Jones CC: Greg Kroah-Hartman , Linus Walleij , , References: <20200716090236.13057-1-miaoqinglang@huawei.com> <20200716134603.GR3165313@dell> From: miaoqinglang Message-ID: <00056e7b-6a6d-459d-2498-f07da156e409@huawei.com> Date: Sat, 19 Sep 2020 10:17:35 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200716134603.GR3165313@dell> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.91] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/7/16 21:46, Lee Jones 写道: > On Thu, 16 Jul 2020, Qinglang Miao wrote: > >> From: Yongqiang Liu >> >> Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. >> >> Signed-off-by: Yongqiang Liu >> --- >> drivers/mfd/ab3100-core.c | 15 ++------------- >> drivers/mfd/ab3100-otp.c | 16 +++------------- >> drivers/mfd/tps65010.c | 14 ++------------ > > Can you split this out into different patches please. Hi Lee, I've splited this out into three patches. They are against linux-next(20200917), and can be applied to mainline cleanly now. Thanks. > >> 3 files changed, 7 insertions(+), 38 deletions(-) >