git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
video
/
backlight
/
backlight.c
diff --git
a/drivers/video/backlight/backlight.c
b/drivers/video/backlight/backlight.c
index
acc81cb
..
151fda8
100644
(file)
--- a/
drivers/video/backlight/backlight.c
+++ b/
drivers/video/backlight/backlight.c
@@
-5,7
+5,6
@@
*
*/
*
*/
-#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
@@
-14,7
+13,6
@@
#include <linux/ctype.h>
#include <linux/err.h>
#include <linux/fb.h>
#include <linux/ctype.h>
#include <linux/err.h>
#include <linux/fb.h>
-#include <asm/bug.h>
static ssize_t backlight_show_power(struct class_device *cdev, char *buf)
{
static ssize_t backlight_show_power(struct class_device *cdev, char *buf)
{
@@
-174,7
+172,7
@@
struct backlight_device *backlight_device_register(const char *name, void *devda
new_bd = kmalloc(sizeof(struct backlight_device), GFP_KERNEL);
if (unlikely(!new_bd))
new_bd = kmalloc(sizeof(struct backlight_device), GFP_KERNEL);
if (unlikely(!new_bd))
- return ERR_PTR(ENOMEM);
+ return ERR_PTR(
-
ENOMEM);
init_MUTEX(&new_bd->sem);
new_bd->props = bp;
init_MUTEX(&new_bd->sem);
new_bd->props = bp;