Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5503021ybl; Tue, 27 Aug 2019 05:48:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRQEG8m6pbZjNwsJwDae6TpZ062H+5YQiRWkgS46Uc0XYxmOHIj5it5yN0FB3Stck65X7O X-Received: by 2002:a17:90a:1b0a:: with SMTP id q10mr25168292pjq.91.1566910123504; Tue, 27 Aug 2019 05:48:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566910123; cv=none; d=google.com; s=arc-20160816; b=DJTbQWmZgl5/4zNjozE1Zsq4/WFo0+mzMIOD+g+cH1VxHBQVD6LhKGSYxdiddOTQRc JOxNS68LGPJJIX3KW4/moQTYXT1YBWI32Wj8WhbEpZ/tZVve4mju/GOrDa740Zsu2e2i F6DNasyx7/yrVNG5F4JfV4sOynoJUyVrstabg6HULhYCSmqpCeUmxGQRtTK5QXfnBOWC x/uaLgDI5rx/jeUXYpUp/RZqpTSXeUJHbursPGY+oVX6dmYofOmaEyfXuaNRqtLbneyn 1l7eazD9/VgHZolyn+Tl4gPIuxh3RovMp1W1APrCLy+TAuxKPkUzSvXfkxJRq6KrWoIb uYDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Mmg/CV+E5swW47zCZMM5HqjObfVMKUEI8HgI/3Z7N+4=; b=O0vFCg4yAzpcK7FbxsdZO2Jr2Onyq343YzU0zVk4gd54L6UyNwl2rfPRUJec0kHhCN +jU3/Zj9/zuVPmgK23vKewc1No22J8gqpOtB5Ur48/Py7fhK/9iIHX63zcQUIpquRsbd R2dnJO28jilYnFLjGaY9LtbIgveUMEufumqshCZFiLt8vXR18U8FI5Pj/E7vuCk0lQHK s3HisvtbC2fZGR5EHoP4O1SAGy182HbsPL4iFr7tz80bp/drJWSI0wqK6P16h/O+MBqd gXF0WPHT1xwuCxL8jFZRWBObdi1131nkeCB/8nZd9x1/lfhjO0cmDXgfjGAygkIzf8p/ k2iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K9PXFeoS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v24si12001709pgn.64.2019.08.27.05.48.26; Tue, 27 Aug 2019 05:48:43 -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; dkim=pass header.i=@linaro.org header.s=google header.b=K9PXFeoS; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729896AbfH0MrO (ORCPT + 99 others); Tue, 27 Aug 2019 08:47:14 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39988 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbfH0MrM (ORCPT ); Tue, 27 Aug 2019 08:47:12 -0400 Received: by mail-wr1-f66.google.com with SMTP id c3so18651535wrd.7 for ; Tue, 27 Aug 2019 05:47:10 -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 :user-agent; bh=Mmg/CV+E5swW47zCZMM5HqjObfVMKUEI8HgI/3Z7N+4=; b=K9PXFeoSBoBTxt6NHl3NO4cpuMBw3NU60uP+qc6KQrFurTIArQWAtXjGCMqaU8CaPK DIWQHkEA6186IYCLyLHxmWHZ5yISMm1o6UXYycpm8YX6zXDwSqamZJt0tp7LBymbf3sa 6GtKHDjZPOY0M7cT9nAdc0VasoCFsXaTA7HYG5P8REKzF3MHEPrJLPU46HdIDYECPe+u fskJcPeoswnH7iu8ftuti7EOvwXZhYS3dmlxGT4K+/Qp4WiVnJfhUpuYOAVsYbXfvBHQ nLvQg8rfZ6kgN2hA4usMLZkoYCS2jtBk4w8LKLnQ5UK5zI2XajeEF/K20Iy23BT8frt5 SlQA== 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:user-agent; bh=Mmg/CV+E5swW47zCZMM5HqjObfVMKUEI8HgI/3Z7N+4=; b=I9wff9bQkQGtxOS/53EZDxpcNaXftWBDhX40R8bP4gVGx6raKN14QbFM1DhJC0i896 PgN66s0OPpdNSsDQTuU8BE/ATxGdvPF/8FvrIPhUzSuwIEMW6QmKBR+TFEGkiSFlJIGg OJREzlnw155r3rf8+9FiPuaNg5nZ6eAW6nSjZs/P2Jd9/dm2xLWhxNr72SCBkTlWtL4O YcXumDOySF2Ctwwmm6hKBOtZJmfxGzpw0p1ZePaqP5TfFsliIMpiwNM+i7VDHOmkb4Gb HJszFAX2FK6tR7M/E3/VrN93wzdtzCY2mLPr8+ckESSxWA213RUY9jKweMM+H9H3TxpY H60A== X-Gm-Message-State: APjAAAVIBpvMPqsRuWetBD2x0k2v2mDxLYkZpOV9dnghnsbDG6kL0nj7 dKR9PB3M9ql7aF+9mQpBkGCq1g== X-Received: by 2002:a5d:45cb:: with SMTP id b11mr871859wrs.117.1566910029426; Tue, 27 Aug 2019 05:47:09 -0700 (PDT) Received: from dell ([2.27.35.174]) by smtp.gmail.com with ESMTPSA id f17sm3715068wmj.27.2019.08.27.05.47.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 05:47:08 -0700 (PDT) Date: Tue, 27 Aug 2019 13:47:07 +0100 From: Lee Jones To: Enric Balletbo i Serra 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 Subject: Re: [PATCH v6 10/11] mfd: cros_ec: Use mfd_add_hotplug_devices() helper Message-ID: <20190827124707.GD4804@dell> References: <20190823125331.5070-1-enric.balletbo@collabora.com> <20190823125331.5070-11-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190823125331.5070-11-enric.balletbo@collabora.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Aug 2019, Enric Balletbo i Serra wrote: > Use mfd_add_hotplug_devices() helper to register the subdevices. The > helper allows us to reduce the boiler plate and also registers the > subdevices in the same way as used in other functions used in this > files. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Gwendal Grignou > Tested-by: Gwendal Grignou > --- > > Changes in v6: > - Improve patch description stating the reason of the change (Lee Jones) > > 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(-) For my own reference: Acked-for-MFD-by: Lee Jones -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog