Searched refs:new_ld (Results 1 – 2 of 2) sorted by relevance
211 struct lcd_device *new_ld; in lcd_device_register() local216 new_ld = kzalloc(sizeof(struct lcd_device), GFP_KERNEL); in lcd_device_register()217 if (!new_ld) in lcd_device_register()220 mutex_init(&new_ld->ops_lock); in lcd_device_register()221 mutex_init(&new_ld->update_lock); in lcd_device_register()223 new_ld->dev.class = lcd_class; in lcd_device_register()224 new_ld->dev.parent = parent; in lcd_device_register()225 new_ld->dev.release = lcd_device_release; in lcd_device_register()226 dev_set_name(&new_ld->dev, "%s", name); in lcd_device_register()227 dev_set_drvdata(&new_ld->dev, devdata); in lcd_device_register()[all …]
193 struct lcd_device *new_ld; in lcd_device_register() local198 new_ld = kzalloc(sizeof(struct lcd_device), GFP_KERNEL); in lcd_device_register()199 if (!new_ld) in lcd_device_register()202 mutex_init(&new_ld->ops_lock); in lcd_device_register()203 mutex_init(&new_ld->update_lock); in lcd_device_register()205 new_ld->dev.class = lcd_class; in lcd_device_register()206 new_ld->dev.parent = parent; in lcd_device_register()207 new_ld->dev.release = lcd_device_release; in lcd_device_register()208 dev_set_name(&new_ld->dev, "%s", name); in lcd_device_register()209 dev_set_drvdata(&new_ld->dev, devdata); in lcd_device_register()[all …]