Searched refs:pdev (Results 1 – 2 of 2) sorted by relevance
88 struct platform_device *pdev; in alarmtimer_rtc_add_device() local99 pdev = platform_device_register_data(dev, "alarmtimer", in alarmtimer_rtc_add_device()101 if (!IS_ERR(pdev)) in alarmtimer_rtc_add_device()102 device_init_wakeup(&pdev->dev, true); in alarmtimer_rtc_add_device()105 if (!IS_ERR(pdev) && !rtcdev) { in alarmtimer_rtc_add_device()114 pdev = NULL; in alarmtimer_rtc_add_device()121 platform_device_unregister(pdev); in alarmtimer_rtc_add_device()
315 static int map_benchmark_platform_probe(struct platform_device *pdev) in map_benchmark_platform_probe() argument317 return __map_benchmark_probe(&pdev->dev); in map_benchmark_platform_probe()328 map_benchmark_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) in map_benchmark_pci_probe() argument330 return __map_benchmark_probe(&pdev->dev); in map_benchmark_pci_probe()