Searched refs:dcon_device (Results 1 – 1 of 1) sorted by relevance
45 static struct platform_device *dcon_device; variable624 dcon_device = platform_device_alloc("dcon", -1); in dcon_probe()626 if (!dcon_device) { in dcon_probe()631 rc = platform_device_add(dcon_device); in dcon_probe()632 platform_set_drvdata(dcon_device, dcon); in dcon_probe()640 rc = device_create_file(&dcon_device->dev, in dcon_probe()643 dev_err(&dcon_device->dev, "Cannot create sysfs file\n"); in dcon_probe()652 dcon->bl_dev = backlight_device_register("dcon-bl", &dcon_device->dev, in dcon_probe()668 device_remove_file(&dcon_device->dev, &dcon_device_files[j]); in dcon_probe()670 platform_device_unregister(dcon_device); in dcon_probe()[all …]