From 4f6bfde86b5fd731beca11cf916f86aa31b1169f Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 2 Feb 2018 04:16:21 -0600 Subject: module-basics: add a slide for vain plat full example With the device tree added, the full example no longer fits in 5 slides. Add a 6th slide to spread things out better. Signed-off-by: John Ogness --- kernel-devel/module-basics/vain_plat/vain_plat_4.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'kernel-devel/module-basics/vain_plat/vain_plat_4.c') diff --git a/kernel-devel/module-basics/vain_plat/vain_plat_4.c b/kernel-devel/module-basics/vain_plat/vain_plat_4.c index e76901c..ed17836 100644 --- a/kernel-devel/module-basics/vain_plat/vain_plat_4.c +++ b/kernel-devel/module-basics/vain_plat/vain_plat_4.c @@ -12,18 +12,3 @@ static int __devexit vain_plat_remove(struct platform_device *pdev) return 0; } - -static const struct of_device_id vain_match[] = { - { .compatible = "example,vain", }, - { /* end of table */ } -}; - -static struct platform_driver vain_plat_driver = { - .driver = { - .name = "vain_plat", - .owner = THIS_MODULE, - .of_match_table = vain_match, - }, - .probe = vain_plat_probe, - .remove = __devexit_p(vain_plat_remove), -}; -- cgit v1.2.3