new_ld 192 drivers/video/backlight/lcd.c struct lcd_device *new_ld; new_ld 197 drivers/video/backlight/lcd.c new_ld = kzalloc(sizeof(struct lcd_device), GFP_KERNEL); new_ld 198 drivers/video/backlight/lcd.c if (!new_ld) new_ld 201 drivers/video/backlight/lcd.c mutex_init(&new_ld->ops_lock); new_ld 202 drivers/video/backlight/lcd.c mutex_init(&new_ld->update_lock); new_ld 204 drivers/video/backlight/lcd.c new_ld->dev.class = lcd_class; new_ld 205 drivers/video/backlight/lcd.c new_ld->dev.parent = parent; new_ld 206 drivers/video/backlight/lcd.c new_ld->dev.release = lcd_device_release; new_ld 207 drivers/video/backlight/lcd.c dev_set_name(&new_ld->dev, "%s", name); new_ld 208 drivers/video/backlight/lcd.c dev_set_drvdata(&new_ld->dev, devdata); new_ld 210 drivers/video/backlight/lcd.c new_ld->ops = ops; new_ld 212 drivers/video/backlight/lcd.c rc = device_register(&new_ld->dev); new_ld 214 drivers/video/backlight/lcd.c put_device(&new_ld->dev); new_ld 218 drivers/video/backlight/lcd.c rc = lcd_register_fb(new_ld); new_ld 220 drivers/video/backlight/lcd.c device_unregister(&new_ld->dev); new_ld 224 drivers/video/backlight/lcd.c return new_ld;