Lines Matching defs:dev
12 static void umc_device_release(struct device *dev)
14 struct umc_dev *umc = to_umc_dev(dev);
33 dev_set_name(&umc->dev, "%s-%d", dev_name(parent), n);
34 umc->dev.parent = parent;
35 umc->dev.bus = &umc_bus_type;
36 umc->dev.release = umc_device_release;
38 umc->dev.dma_mask = parent->dma_mask;
57 dev_err(&umc->dev, "can't allocate resource range "
65 err = device_register(&umc->dev);
88 struct device *dev;
91 dev = get_device(&umc->dev);
92 device_unregister(&umc->dev);
94 put_device(dev);