Lines Matching refs:pldev
273 static int __devinit pmcmsptwi_probe(struct platform_device *pldev)
279 res = platform_get_resource(pldev, IORESOURCE_MEM, 0);
281 dev_err(&pldev->dev, "IOMEM resource not found\n");
287 pldev->name)) {
288 dev_err(&pldev->dev,
299 dev_err(&pldev->dev,
306 pmcmsptwi_data.irq = platform_get_irq(pldev, 0);
310 pldev->name, &pmcmsptwi_data);
324 dev_warn(&pldev->dev,
340 pmcmsptwi_adapter.dev.parent = &pldev->dev;
341 platform_set_drvdata(pldev, &pmcmsptwi_adapter);
346 dev_err(&pldev->dev, "Unable to register I2C adapter\n");
353 platform_set_drvdata(pldev, NULL);
372 static int __devexit pmcmsptwi_remove(struct platform_device *pldev)
378 platform_set_drvdata(pldev, NULL);
387 res = platform_get_resource(pldev, IORESOURCE_MEM, 0);