1
0
Fork 0

gpio: intel-mid: use builtin_pci_driver

Use builtin_pci_driver() helper to simplify the code.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
hifive-unleashed-5.1
Geliang Tang 2016-11-14 20:52:25 +08:00 committed by Linus Walleij
parent 3940c34ac8
commit 5261bee8f2
1 changed files with 1 additions and 6 deletions

View File

@ -421,9 +421,4 @@ static struct pci_driver intel_gpio_driver = {
},
};
static int __init intel_gpio_init(void)
{
return pci_register_driver(&intel_gpio_driver);
}
device_initcall(intel_gpio_init);
builtin_pci_driver(intel_gpio_driver);