[PATCH] Mark empty release functions as broken
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:17:13 +0000 (13:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Mar 2006 21:42:57 +0000 (13:42 -0800)
Come on people, this is just wrong...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/epson1355fb.c
drivers/video/vfb.c

index 3b0e71383448a426dc979a008502d04f2dfacb6d..082759447bf6d16ab9c881fee230f66b9841e7ea 100644 (file)
@@ -607,6 +607,7 @@ static void clearfb16(struct fb_info *info)
 
 static void epson1355fb_platform_release(struct device *device)
 {
+       dev_err(device, "This driver is broken, please bug the authors so they will fix it.\n");
 }
 
 static int epson1355fb_remove(struct platform_device *dev)
index 53208cb58396a8a1a047232f3de9c7ef7dd57f12..77eed1fd994366d4140ae74d319eee2a94fe396d 100644 (file)
@@ -401,6 +401,7 @@ static int __init vfb_setup(char *options)
 static void vfb_platform_release(struct device *device)
 {
        // This is called when the reference count goes to zero.
+       dev_err(device, "This driver is broken, please bug the authors so they will fix it.\n");
 }
 
 static int __init vfb_probe(struct platform_device *dev)