From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dong Aisheng Subject: Re: [PATCH v2 1/1] of: reform prom_update_property function Date: Fri, 6 Jul 2012 17:13:36 +0800 Message-ID: <20120706091335.GB28264@shlinux2.ap.freescale.net> References: <1340605714-25206-1-git-send-email-b29396@freescale.com> <4FE8F6DA.8070109@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4FE8F6DA.8070109-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Rob Herring Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "paulus-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org On Tue, Jun 26, 2012 at 07:40:10AM +0800, Rob Herring wrote: > On 06/25/2012 01:28 AM, Dong Aisheng wrote: > > From: Dong Aisheng > > > > prom_update_property() currently fails if the property doesn't > > actually exist yet which isn't what we want. Change to add-or-update > > instead of update-only, then we can remove a lot duplicated lines. > > > > Suggested-by: Grant Likely > > Signed-off-by: Dong Aisheng > > Acked-by: Rob Herring > > Ben, you can merge this via powerpc. > > Rob > Ping... Regards Dong Aisheng