mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-26 20:58:33 +00:00
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>
This commit is contained in:
parent
3940c34ac8
commit
5261bee8f2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user