From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH 1/3] mfd: always assign of_node in mfd_add_device() Date: Tue, 7 Jan 2014 08:23:49 +0000 Message-ID: <20140107082349.GC3182@lee--X1> References: <1386626809-6251-1-git-send-email-swarren@wwwdotorg.org> <20131211092435.GC16780@lee--X1> <52B32C05.5010204@wwwdotorg.org> <20131220142530.GK3709@lee--X1> <52CAF1FF.9090709@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <52CAF1FF.9090709-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Warren Cc: Samuel Ortiz , Alessandro Zummo , Andrew Morton , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Stephen Warren List-Id: devicetree@vger.kernel.org > > Please let me know if this is suitable and I can keep your Ack. >=20 > This patch doesn't seem to have made it into next-20140106. I assume > that's just because of the holidays, not because it was forgotten? Right, it was pushed yesterday morning. > > ---- > >=20 > > mfd: Revert "mfd: Always assign of_node in mfd_add_device()" > >=20 > > This reverts commit 68044bee13770918e0b28dd44aa98c889ec7558f. > >=20 > > We've had confirmed reports of this patch causing unforeseen issues > > with existing MFD users. It has been agreed by the original author > > and myself that reversion is the best solution. > >=20 > > Acked-by: Stephen Warren > > Signed-off-by: Lee Jones > >=20 > > diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c > > index 32e8d47..2676492 100644 > > --- a/drivers/mfd/mfd-core.c > > +++ b/drivers/mfd/mfd-core.c > > @@ -117,8 +117,6 @@ static int mfd_add_device(struct device *parent= , int id, > > } > > } > > } > > - if (!pdev->dev.of_node) > > - pdev->dev.of_node =3D parent->of_node; > > =20 > > if (cell->pdata_size) { > > ret =3D platform_device_add_data(pdev, > >=20 >=20 --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html