Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1157035ybl; Wed, 21 Aug 2019 11:00:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTMOOItrVuuhPPm+fRwO5u61+NRFjFU/rKDYvge5ObgQC9BBS3gF2TIcMD10FxEx3TfR37 X-Received: by 2002:a63:4b02:: with SMTP id y2mr29622244pga.135.1566410419604; Wed, 21 Aug 2019 11:00:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566410419; cv=none; d=google.com; s=arc-20160816; b=AHMiPzmOXr4H2uLzLzJv96tsBRo1rIIvI+Vz/bJNIJ28cPVsAYBw9QocQ3egL9YQfj ZMpXNAzyTMfthooRIwgQ9EfdBPZg+BrJIc6611vCpkOMMc5NDktQGCuO88dukCI0R6+i eRMgF5/t9gGHFP9aAQaQnMFP+znSoXclw7lZBCcePus/4p/RmC6LOxYGUZ8y4sfdQkWf qig6FBpiAFTWt+rPL5CkNrjBfRVcKETj1H+hOrg9qeZXX1M/H0/+5a63GC2cBirRwC7t VQzFYqhWq5jfG6Tk27S0o/aF7yk0JeECz4Fo/aiLagvHjMYO+zRuiZVfzUGFz9lqlxWL XSIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=U8Ya7+kbpbgOho3wV5fH/t9HZ3MdkL7dR6RhQHzXouw=; b=ISxeodUdTq/VZOJ6KjtTUKUsHSrZjmDsU96XjaIW3YfR4/pDvN8k8tWrnfhMQTLOzV OuTsW51gV4jpdCHCklsEK+8la66P+0hWTZyR3CnpbDkVkpopMMfALg3zhgfni4G5XUGf seGR1aK9Wc0Xi96duug6rRo2d639u5ammA5hUjs1LlDy+3KhTaH5g7ywZuBsKTphh61T Rdu7LW1c7k034k+kryVjkHYql6vSzKfeD53P2/dgE4vH6jelga+4U1inauUgwCW6xDeP NlA/Flwv1AMr8p+NSD2gbZ79/Psp7IqEc2NIALQbN/tTcvTkuGPUmJmJvv086kU/AY+w DkiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 60si15244964plf.398.2019.08.21.11.00.04; Wed, 21 Aug 2019 11:00:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729212AbfHURuZ (ORCPT + 99 others); Wed, 21 Aug 2019 13:50:25 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51980 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbfHURuZ (ORCPT ); Wed, 21 Aug 2019 13:50:25 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id C2C0B27FF55 Subject: Re: [PATCH v5 10/11] mfd: cros_ec: Use mfd_add_hotplug_devices() helper To: Lee Jones Cc: linux-kernel@vger.kernel.org, Jonathan Corbet , Krzysztof Kozlowski , Will Deacon , MyungJoo Ham , Chanwoo Choi , Benson Leung , Guenter Roeck , Jonathan Cameron , Dmitry Torokhov , Mauro Carvalho Chehab , Sebastian Reichel , Thierry Reding , Alexandre Belloni , Liam Girdwood , Mark Brown , Neil Armstrong , Greg Kroah-Hartman , Collabora kernel ML , Gwendal Grignou References: <20190722133257.9336-1-enric.balletbo@collabora.com> <20190722133257.9336-11-enric.balletbo@collabora.com> <20190812072407.GD4594@dell> From: Enric Balletbo i Serra Message-ID: Date: Wed, 21 Aug 2019 19:50:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190812072407.GD4594@dell> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On 12/8/19 9:24, Lee Jones wrote: > On Mon, 22 Jul 2019, Enric Balletbo i Serra wrote: > >> Use mfd_add_hotplug_devices() helper to register the subdevices. > > You need to state why this change is useful/required. > The reason for this change is to avoid a bit of boiler plate and be coherent with the new functions created to register subdevices, as Gwendal pointed to use that. I'll make explicit in the commit comment on next version. Thanks, Enric >> Signed-off-by: Enric Balletbo i Serra >> Reviewed-by: Gwendal Grignou >> Tested-by: Gwendal Grignou >> --- >> >> Changes in v5: None >> Changes in v4: None >> Changes in v3: >> - Add a new patch to use mfd_add_hoplug_devices to register subdevices >> >> Changes in v2: None >> >> drivers/mfd/cros_ec_dev.c | 18 ++++++------------ >> 1 file changed, 6 insertions(+), 12 deletions(-) >