Re: [PATCH] x86: use platform_device_register_simple()

From: Ingo Molnar
Date: Mon Sep 22 2008 - 06:12:03 EST



* Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:

> Cleanup pcspeaker.c

> - pd = platform_device_alloc("pcspkr", -1);
> + pd = platform_device_register_simple("pcspkr", -1, NULL, 0);

applied to tip/x86/cleanups, thanks!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/