Home
last modified time | relevance | path

Searched refs:dcon_device (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/staging/olpc_dcon/
Dolpc_dcon.c43 static struct platform_device *dcon_device; variable
615 dcon_device = platform_device_alloc("dcon", -1); in dcon_probe()
617 if (!dcon_device) { in dcon_probe()
622 rc = platform_device_add(dcon_device); in dcon_probe()
623 platform_set_drvdata(dcon_device, dcon); in dcon_probe()
631 rc = device_create_file(&dcon_device->dev, in dcon_probe()
634 dev_err(&dcon_device->dev, "Cannot create sysfs file\n"); in dcon_probe()
643 dcon->bl_dev = backlight_device_register("dcon-bl", &dcon_device->dev, in dcon_probe()
659 device_remove_file(&dcon_device->dev, &dcon_device_files[j]); in dcon_probe()
660 platform_device_del(dcon_device); in dcon_probe()
[all …]