[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130521170952.GA6895@kroah.com>
Date: Tue, 21 May 2013 10:09:52 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Peter Huewe <peterhuewe@....de>
Cc: "Hans J. Koch" <hjk@...sjkoch.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] uio/uio_pci_generic: Use module_pci_driver to
register driver
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@....de>
> ---
> 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@...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