From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756093Ab0G0Kfo (ORCPT ); Tue, 27 Jul 2010 06:35:44 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:35191 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756085Ab0G0Kfn (ORCPT ); Tue, 27 Jul 2010 06:35:43 -0400 Subject: Re: [PATCH] wm8350-regulator: fix wm8350_register_regulator error handling From: Liam Girdwood To: Mark Brown Cc: Axel Lin , linux-kernel In-Reply-To: References: <1280112118.14256.1.camel@mola> (sfid-20100726_034140_195818_204F7320) Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Jul 2010 11:35:38 +0100 Message-ID: <1280226938.3085.23.camel@odin> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2010-07-26 at 00:07 -0700, Mark Brown wrote: > On 25 Jul 2010, at 19:41, Axel Lin wrote: > > > In the case of platform_device_add() fail, we should call > > platform_device_put() instead of platform_device_del() > > > > Signed-off-by: Axel Lin > > Acked-by: Mark Brown Applied. Thanks Liam -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk