Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mfd/
Dkempld-core.c127 static struct platform_device *kempld_pdev; variable
135 kempld_pdev = platform_device_alloc("kempld", -1); in kempld_create_platform_device()
136 if (!kempld_pdev) in kempld_create_platform_device()
139 ret = platform_device_add_data(kempld_pdev, pdata, sizeof(*pdata)); in kempld_create_platform_device()
143 ret = platform_device_add_resources(kempld_pdev, pdata->ioresource, 1); in kempld_create_platform_device()
147 ret = platform_device_add(kempld_pdev); in kempld_create_platform_device()
153 platform_device_put(kempld_pdev); in kempld_create_platform_device()
496 if (kempld_pdev == NULL) { in kempld_probe()
506 } else if (kempld_pdev != pdev) { in kempld_probe()
911 if (!kempld_pdev && !kempld_acpi_mode) in kempld_init()
[all …]