Prev: [PATCH] perf tools: Fix fallback to cplus_demangle() when bfd_demangle() is not available
Next: [PATCH 0/2] Use u64 for gfn_t in KVM
From: Matthew Garrett on 1 Jul 2010 10:00 On Thu, Jul 01, 2010 at 10:18:01AM +0800, Axel Lin wrote: > platform_device_unregister calls platform_device_del and platform_device_put, > thus this change is logically equivalent to original code. > > I made this change because the documents in platform.c shows that: > platform_device_del and platform_device_put must _only_ be externally called > in error cases. All other usage is a bug. > > Signed-off-by: Axel Lin <axel.lin(a)gmail.com> Applied, thanks. -- Matthew Garrett | mjg59(a)srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |