[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100803103440.GE2635@sortiz-mobl>
Date: Tue, 3 Aug 2010 12:34:42 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Marek Vasut <marek.vasut@...il.com>
Subject: Re: [PATCH] ucb1400_core: avoid calling platform_device_put()
twice in ucb1400_core_probe error path
On Tue, Aug 03, 2010 at 04:34:13PM +0800, Axel Lin wrote:
> In the case of goto err2, what we want is to call
> platform_device_del() instead of platform_device_unregister().
> Otherwise, we call platform_device_put() twice.
Patch applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists