From: Juergen Gross <jgross@suse.com>
To: Geliang Tang <geliangtang@gmail.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
David Vrabel <david.vrabel@citrix.com>
Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] xen-platform: use builtin_pci_driver
Date: Thu, 17 Nov 2016 13:49:26 +0100 [thread overview]
Message-ID: <d3e2dffa-8cb1-6396-a8ec-701942004350@suse.com> (raw)
In-Reply-To: <e8cccdc13309ff26c713556d0b5eab0281d740d6.1479127837.git.geliangtang@gmail.com>
On 14/11/16 13:52, Geliang Tang wrote:
> Use builtin_pci_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Applied to xen/tip.git for-linus-4.10
Juergen
> ---
> drivers/xen/platform-pci.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c
> index b59c9455..112ce42 100644
> --- a/drivers/xen/platform-pci.c
> +++ b/drivers/xen/platform-pci.c
> @@ -125,8 +125,4 @@ static struct pci_driver platform_driver = {
> .id_table = platform_pci_tbl,
> };
>
> -static int __init platform_pci_init(void)
> -{
> - return pci_register_driver(&platform_driver);
> -}
> -device_initcall(platform_pci_init);
> +builtin_pci_driver(platform_driver);
>
next prev parent reply other threads:[~2016-11-17 17:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-14 12:52 [PATCH] gpio: intel-mid: use builtin_pci_driver Geliang Tang
2016-11-14 12:52 ` [PATCH] xen-platform: " Geliang Tang
2016-11-15 6:41 ` Juergen Gross
2016-11-17 12:49 ` Juergen Gross [this message]
2016-11-15 9:35 ` [PATCH] gpio: intel-mid: " Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3e2dffa-8cb1-6396-a8ec-701942004350@suse.com \
--to=jgross@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=geliangtang@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).