diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 12:25:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 12:25:15 -0500 |
commit | 08a4ecee986dd98e86090ff5faac4782b6765aed (patch) | |
tree | 74df5de49f38c432a6a18303b0c6d834fd09028f /drivers/video | |
parent | ba93c6297b9cfad5a70b5e5ed13c9dbead6601d3 (diff) | |
parent | b3229087c5e08589cea4f5040dab56f7dc11332a (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (23 commits)
[PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path
[PATCH] sysfs: don't export dir symbols
[PATCH] get_cpu_sysdev() signedness fix
[PATCH] kobject_add_dir
[PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data
[PATCH] sysfs: fix problem with duplicate sysfs directories and files
[PATCH] Kobject: kobject.h: fix a typo
[PATCH] Kobject: provide better warning messages when people do stupid things
[PATCH] Driver core: add macros notice(), dev_notice()
[PATCH] firmware: fix BUG: in fw_realloc_buffer
[PATCH] sysfs: kzalloc conversion
[PATCH] fix module sysfs files reference counting
[PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem
[PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem
[PATCH] add EXPORT_SYMBOL_GPL_FUTURE()
[PATCH] Clean up module.c symbol searching logic
[PATCH] kobj_map semaphore to mutex conversion
[PATCH] kref: avoid an atomic operation in kref_put()
[PATCH] handle errors returned by platform_get_irq*()
[PATCH] driver core: platform_get_irq*(): return -ENXIO on error
...
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/epson1355fb.c | 1 | ||||
-rw-r--r-- | drivers/video/sa1100fb.c | 2 | ||||
-rw-r--r-- | drivers/video/vfb.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/epson1355fb.c b/drivers/video/epson1355fb.c index 3b0e71383448..082759447bf6 100644 --- a/drivers/video/epson1355fb.c +++ b/drivers/video/epson1355fb.c | |||
@@ -607,6 +607,7 @@ static void clearfb16(struct fb_info *info) | |||
607 | 607 | ||
608 | static void epson1355fb_platform_release(struct device *device) | 608 | static void epson1355fb_platform_release(struct device *device) |
609 | { | 609 | { |
610 | dev_err(device, "This driver is broken, please bug the authors so they will fix it.\n"); | ||
610 | } | 611 | } |
611 | 612 | ||
612 | static int epson1355fb_remove(struct platform_device *dev) | 613 | static int epson1355fb_remove(struct platform_device *dev) |
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c index 8a893ce7040d..d9831fd42341 100644 --- a/drivers/video/sa1100fb.c +++ b/drivers/video/sa1100fb.c | |||
@@ -1457,7 +1457,7 @@ static int __init sa1100fb_probe(struct platform_device *pdev) | |||
1457 | int ret, irq; | 1457 | int ret, irq; |
1458 | 1458 | ||
1459 | irq = platform_get_irq(pdev, 0); | 1459 | irq = platform_get_irq(pdev, 0); |
1460 | if (irq <= 0) | 1460 | if (irq < 0) |
1461 | return -EINVAL; | 1461 | return -EINVAL; |
1462 | 1462 | ||
1463 | if (!request_mem_region(0xb0100000, 0x10000, "LCD")) | 1463 | if (!request_mem_region(0xb0100000, 0x10000, "LCD")) |
diff --git a/drivers/video/vfb.c b/drivers/video/vfb.c index 53208cb58396..77eed1fd9943 100644 --- a/drivers/video/vfb.c +++ b/drivers/video/vfb.c | |||
@@ -401,6 +401,7 @@ static int __init vfb_setup(char *options) | |||
401 | static void vfb_platform_release(struct device *device) | 401 | static void vfb_platform_release(struct device *device) |
402 | { | 402 | { |
403 | // This is called when the reference count goes to zero. | 403 | // This is called when the reference count goes to zero. |
404 | dev_err(device, "This driver is broken, please bug the authors so they will fix it.\n"); | ||
404 | } | 405 | } |
405 | 406 | ||
406 | static int __init vfb_probe(struct platform_device *dev) | 407 | static int __init vfb_probe(struct platform_device *dev) |