Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp499050pxb; Wed, 11 Nov 2020 08:49:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7kaR2gfaA/sCD57m/LMSo0yObBaTeW3VTGEf/LPY9M30K1+W/PqjPf6pp1D2yJEnpIYps X-Received: by 2002:aa7:cb58:: with SMTP id w24mr324121edt.35.1605113354828; Wed, 11 Nov 2020 08:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605113354; cv=none; d=google.com; s=arc-20160816; b=Wb6OIdMpd3DY8iIdfMwyqRGhFo8Bckrjg2O+hqGsiSKaIgUItXdea9V4WGVxegjebG 8U9gU9sOcR7J9AcH60D/dPFK4XCp1816gIfUZy3dzsIE8HqwMX9V6wP2Qf4naFKRUpTv NycSFFRN1ajRFI4n2G7kBFHUr8VC0mZxp4kYc40+aBvnybMgIm6Yr6DQZZ9sBxHX2B02 6akRJqHUS2Hm4CvVuEmonlG/q3IzyFPMtg+fA2QaoIhNBn1LjZQoO2tt4pr8o95pEKsm bzAzQf2TWnaz3w47rVLgp1T1OYyYRnYcE0zVI5QCRrgHjkpU78rXCDHxKWMHC0cwsYUf O0tQ== 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=iFsaSefHhmkCScyFYoknkXxLil5Qp2yw29m3QJALDc0=; b=lGUqiOr0M5MisenWOY6rHDld9YLrfx8poXEIm/4YtrdqsTIg+DrMQk2BvG6nA8vzPR E40GP8pubjuWA937DljFQFEeRtZ6TsKyckV3mmjnOaoramRHhfZgXUmIN5tp4ZqLgRID m+o2Vwugq44hfjrz1cUTEYWeRWDBv88OC1VbBMgHArkh/2xbJzUXV3KBHll6MiVvGYay 3Nv4itOnGktWwz1SYwTCx0tcDRg6TkYCGBb3cvZb0QisAQcq+Mo4Ev4EPFnz25eNcZ/7 Ns5tF5KAazlP7IvLJNUU9s6l+zxsl0LxXUGSo1ZMIHxbZpR9XqGNsZdrUpspahqC9M++ Oldg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="B/+8hOwV"; 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 t21si1967806edv.46.2020.11.11.08.48.50; Wed, 11 Nov 2020 08:49:14 -0800 (PST) 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="B/+8hOwV"; 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 S1727039AbgKKQrV (ORCPT + 99 others); Wed, 11 Nov 2020 11:47:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbgKKQrT (ORCPT ); Wed, 11 Nov 2020 11:47:19 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E29CC0613D4 for ; Wed, 11 Nov 2020 08:47:18 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id s8so3142574wrw.10 for ; Wed, 11 Nov 2020 08:47:18 -0800 (PST) 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=iFsaSefHhmkCScyFYoknkXxLil5Qp2yw29m3QJALDc0=; b=B/+8hOwVHut4qAjEftspH+8vOftFemj7qMkkqsNfSt9PH1QrCUn7bFMuufqiEPYHvf CdmPz2mS5JPSwdBBTN3N+khMGnoAGP2AMLWxir+wYUZpoPc8LzHTAHww18QLMHCLtGYB WdS1kZXw1Wk0uKOLDhIKppmqhF3IRsIPWNzfTn9bLxl5JmBlg6Q7imM185QgomyT7bns goQSjXEEH8X/SURQO3CsKV8CgFklhDx6f8EPYOP2Wn8iCNBG0Nh+SLEoIZhcKXUsGWMQ Qy/b3ca3qV3J2XYHhKzCGO+yZLvq7xFp70cyUOg4Cn2HgU4qdJ00TQIkU9tKw04hBuju YPXg== 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=iFsaSefHhmkCScyFYoknkXxLil5Qp2yw29m3QJALDc0=; b=dv5dnVjdy01x7ZrkEIvVbhqUCdxzft7bCaT40bAUKd1DWS6ORka6suanZul+0WrjZW +ZaftgVPCM4YBd1xaZJrCXZlra6lI/dYciSLkE0xLFxJSGJ/sUL2HBCveWmutdTDUq2y GPZmQgPVKGie/6kBDG0BBOo1xe8ycfcqOgEDVaZHjjCelTaG/S+NHYCaNoR6/i0czA6H lAd3jzgSOXXV4DVfvpkZYoSR1XqHGQSnyUqm5xuB3JHPorGbUeCgfD+rNpdrMBJdClG6 yI0+xql5kbQpnm0Ts79zEVRLQBslG8ef09+SchSsskUkOWCkK4N1jLYSdBHKoyp85qsk DEmg== X-Gm-Message-State: AOAM530K6yLGpgMFOGLWFgvg9xfhnfseWqo4EGB8tostBOFTR8ltMn6Q vGQLF6vxfKBjoGxhiMkxVXk8yg== X-Received: by 2002:adf:ffc3:: with SMTP id x3mr2959101wrs.32.1605113237207; Wed, 11 Nov 2020 08:47:17 -0800 (PST) Received: from dell ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id s4sm3225443wro.10.2020.11.11.08.47.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 08:47:16 -0800 (PST) Date: Wed, 11 Nov 2020 16:47:14 +0000 From: Lee Jones To: Gene Chen Cc: sre@kernel.org, matthias.bgg@gmail.com, robh+dt@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: Re: [PATCH v6 11/11] mfd: mt6360: Remove MT6360 regulator of_compatible attribute Message-ID: <20201111164714.GR2063125@dell> References: <1604656432-10215-1-git-send-email-gene.chen.richtek@gmail.com> <1604656432-10215-12-git-send-email-gene.chen.richtek@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1604656432-10215-12-git-send-email-gene.chen.richtek@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 06 Nov 2020, Gene Chen wrote: > From: Gene Chen > > Remove MT6360 regulator of_compatible attribute because > MFD device should just instantiate the platform device. > > Signed-off-by: Gene Chen > --- > drivers/mfd/mt6360-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mfd/mt6360-core.c b/drivers/mfd/mt6360-core.c > index 4bcfa7f..539ab43 100644 > --- a/drivers/mfd/mt6360-core.c > +++ b/drivers/mfd/mt6360-core.c > @@ -340,7 +340,7 @@ static const struct mfd_cell mt6360_devs[] = { > OF_MFD_CELL("mt6360-led", mt6360_led_resources, > NULL, 0, 0, "mediatek,mt6360-led"), > OF_MFD_CELL("mt6360-regulator", mt6360_regulator_resources, > - NULL, 0, 0, "mediatek,mt6360-regulator"), > + NULL, 0, 0, NULL), If you're no longer providing an OF compatible, you should use one of the simper helpers. > OF_MFD_CELL("mt6360-tcpc", NULL, > NULL, 0, 0, "mediatek,mt6360-tcpc"), > }; -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog