Searched refs:faux_obj (Results 1 – 1 of 1) sorted by relevance
44 struct faux_object *faux_obj = to_faux_object(dev); in faux_probe() local45 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe()59 ret = device_add_groups(dev, faux_obj->groups); in faux_probe()72 device_remove_groups(dev, faux_obj->groups); in faux_remove()96 kfree(faux_obj); in faux_device_release()133 struct faux_object *faux_obj; in faux_device_create_with_groups() local138 faux_obj = kzalloc(sizeof(*faux_obj), GFP_KERNEL); in faux_device_create_with_groups()139 if (!faux_obj) in faux_device_create_with_groups()143 faux_obj->faux_ops = faux_ops; in faux_device_create_with_groups()144 faux_obj->groups = groups; in faux_device_create_with_groups()[all …]
Completed in 4 milliseconds