]> Git Repo - linux.git/blobdiff - drivers/firmware/google/framebuffer-coreboot.c
ASoC: simple-card: Use snd_soc_of_parse_aux_devs()
[linux.git] / drivers / firmware / google / framebuffer-coreboot.c
index 7e67b651e4ac9c574115052c854995e7c61893e7..916f26adc5955b8c021e607001558ec4028146b1 100644 (file)
@@ -89,19 +89,7 @@ static struct coreboot_driver framebuffer_driver = {
        },
        .tag = CB_TAG_FRAMEBUFFER,
 };
-
-static int __init coreboot_framebuffer_init(void)
-{
-       return coreboot_driver_register(&framebuffer_driver);
-}
-
-static void coreboot_framebuffer_exit(void)
-{
-       coreboot_driver_unregister(&framebuffer_driver);
-}
-
-module_init(coreboot_framebuffer_init);
-module_exit(coreboot_framebuffer_exit);
+module_coreboot_driver(framebuffer_driver);
 
 MODULE_AUTHOR("Samuel Holland <[email protected]>");
 MODULE_LICENSE("GPL");
This page took 0.03581 seconds and 4 git commands to generate.