Searched refs:dcon_device (Results 1 – 1 of 1) sorted by relevance
45 static struct platform_device *dcon_device; variable620 dcon_device = platform_device_alloc("dcon", -1); in dcon_probe()622 if (dcon_device == NULL) { in dcon_probe()627 rc = platform_device_add(dcon_device); in dcon_probe()628 platform_set_drvdata(dcon_device, dcon); in dcon_probe()636 rc = device_create_file(&dcon_device->dev, in dcon_probe()639 dev_err(&dcon_device->dev, "Cannot create sysfs file\n"); in dcon_probe()648 dcon->bl_dev = backlight_device_register("dcon-bl", &dcon_device->dev, in dcon_probe()663 device_remove_file(&dcon_device->dev, &dcon_device_files[j]); in dcon_probe()665 platform_device_unregister(dcon_device); in dcon_probe()[all …]