Skip to content

Commit

Permalink
[PATCH] Mark empty release functions as broken
Browse files Browse the repository at this point in the history
Come on people, this is just wrong...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Mar 20, 2006
1 parent 5110730 commit 972de6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/epson1355fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions drivers/video/vfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 972de6c

Please sign in to comment.