Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752807Ab1F1XBA (ORCPT ); Tue, 28 Jun 2011 19:01:00 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:58617 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351Ab1F1XAw convert rfc822-to-8bit (ORCPT ); Tue, 28 Jun 2011 19:00:52 -0400 MIME-Version: 1.0 X-Originating-IP: [46.116.136.221] In-Reply-To: References: <1308640714-17961-1-git-send-email-ohad@wizery.com> <1308640714-17961-8-git-send-email-ohad@wizery.com> <20110627222121.GD20865@ponder.secretlab.ca> From: Ohad Ben-Cohen Date: Wed, 29 Jun 2011 02:00:31 +0300 Message-ID: Subject: Re: [RFC 7/8] drivers: introduce rpmsg, a remote-processor messaging bus To: Grant Likely Cc: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, akpm@linux-foundation.org, Brian Swetland , Arnd Bergmann , davinci-linux-open-source , Rusty Russell Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 583 Lines: 12 On Wed, Jun 29, 2011 at 1:51 AM, Grant Likely wrote: > It's not the device_for_each_child() that you're 'putting' back from > here. ?Its the original kref initialization when the device was > created. device_unregister() is already calling put_device(), doesn't that deal with the original kref init for us ? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/