Commit 5261bee8 authored by Geliang Tang's avatar Geliang Tang Committed by Linus Walleij

gpio: intel-mid: use builtin_pci_driver

Use builtin_pci_driver() helper to simplify the code.
Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3940c34a
...@@ -421,9 +421,4 @@ static struct pci_driver intel_gpio_driver = { ...@@ -421,9 +421,4 @@ static struct pci_driver intel_gpio_driver = {
}, },
}; };
static int __init intel_gpio_init(void) builtin_pci_driver(intel_gpio_driver);
{
return pci_register_driver(&intel_gpio_driver);
}
device_initcall(intel_gpio_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment