Re: [PATCH 5/5] uio/uio_pci_generic: Use module_pci_driver toregister driver

From: Greg Kroah-Hartman
Date: Tue May 21 2013 - 13:09:57 EST


On Mon, May 20, 2013 at 10:47:45PM +0200, Peter Huewe wrote:
> Removing some boilerplate by using module_pci_driver instead of calling
> register and unregister in the otherwise empty init/exit functions.
>
> It removes a pr_info showing some details about the driver, but
> these infos can also be retrieved by using modinfo.
>
> Signed-off-by: Peter Huewe <peterhuewe@xxxxxx>
> ---
> drivers/uio/uio_pci_generic.c | 15 +--------------
> 1 file changed, 1 insertion(+), 14 deletions(-)

Please test build your changes, this one breaks the build :(

--
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/