Lines Matching defs:dev
31 static int integrator_lm_populate(int num, struct device *dev)
33 struct device_node *np = dev->of_node;
46 dev_info(dev, "no valid address on child\n");
52 dev_info(dev, "populate module @0x%08x from DT\n",
54 ret = of_platform_default_populate(child, NULL, dev);
56 dev_err(dev, "failed to populate module\n");
72 struct device *dev = &pdev->dev;
82 dev_err(dev,
88 dev_err(dev,
95 dev_err(dev, "could not read from Integrator/AP syscon\n");
104 dev_info(dev, "detected module in slot %d\n", i);
105 ret = integrator_lm_populate(i, dev);