Searched refs:new_ld (Results 1 – 1 of 1) sorted by relevance
222 struct lcd_device *new_ld; in lcd_device_register() local227 new_ld = kzalloc(sizeof(struct lcd_device), GFP_KERNEL); in lcd_device_register()228 if (!new_ld) in lcd_device_register()231 mutex_init(&new_ld->ops_lock); in lcd_device_register()232 mutex_init(&new_ld->update_lock); in lcd_device_register()234 new_ld->dev.class = &lcd_class; in lcd_device_register()235 new_ld->dev.parent = parent; in lcd_device_register()236 new_ld->dev.release = lcd_device_release; in lcd_device_register()237 dev_set_name(&new_ld->dev, "%s", name); in lcd_device_register()238 dev_set_drvdata(&new_ld->dev, devdata); in lcd_device_register()[all …]