gpio: zynq: add missing module_exit function
This driver is tristate, so it should be cleanable. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
7c50181b69
commit
80d2bf55a1
|
@ -781,6 +781,12 @@ static int __init zynq_gpio_init(void)
|
|||
}
|
||||
postcore_initcall(zynq_gpio_init);
|
||||
|
||||
static void __exit zynq_gpio_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&zynq_gpio_driver);
|
||||
}
|
||||
module_exit(zynq_gpio_exit);
|
||||
|
||||
MODULE_AUTHOR("Xilinx Inc.");
|
||||
MODULE_DESCRIPTION("Zynq GPIO driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
Loading…
Reference in New Issue