Searched refs:pdev_wd (Results 1 – 1 of 1) sorted by relevance
30 struct platform_device *pdev_wd; in bridge_platform_create() local52 pdev_wd = platform_device_alloc("sgi_w1", PLATFORM_DEVID_AUTO); in bridge_platform_create()53 if (!pdev_wd) { in bridge_platform_create()57 if (platform_device_add_resources(pdev_wd, &w1_res, 1)) { in bridge_platform_create()61 if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) { in bridge_platform_create()65 if (platform_device_add(pdev_wd)) { in bridge_platform_create()119 platform_device_unregister(pdev_wd); in bridge_platform_create()122 platform_device_put(pdev_wd); in bridge_platform_create()