mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 23:26:44 +07: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…
Reference in New Issue
Block a user