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

/linux-4.1.27/drivers/mfd/
H A Dkempld-core.c142 static struct platform_device *kempld_pdev; variable in typeref:struct:platform_device
149 kempld_pdev = platform_device_alloc("kempld", -1); kempld_create_platform_device()
150 if (!kempld_pdev) kempld_create_platform_device()
153 ret = platform_device_add_data(kempld_pdev, pdata, sizeof(*pdata)); kempld_create_platform_device()
157 ret = platform_device_add_resources(kempld_pdev, pdata->ioresource, 1); kempld_create_platform_device()
161 ret = platform_device_add(kempld_pdev); kempld_create_platform_device()
167 platform_device_put(kempld_pdev); kempld_create_platform_device()
767 if (kempld_pdev) kempld_exit()
768 platform_device_unregister(kempld_pdev); kempld_exit()

Completed in 40 milliseconds