From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 289FBC3A59E for ; Wed, 21 Aug 2019 17:50:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 04705206BA for ; Wed, 21 Aug 2019 17:50:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729251AbfHURuZ (ORCPT ); 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(-) >