Searched refs:cn3927v_dev (Results 1 – 1 of 1) sorted by relevance
919 static void cn3927v_subdev_cleanup(struct cn3927v_device *cn3927v_dev) in cn3927v_subdev_cleanup() argument921 v4l2_device_unregister_subdev(&cn3927v_dev->sd); in cn3927v_subdev_cleanup()922 v4l2_device_unregister(&cn3927v_dev->vdev); in cn3927v_subdev_cleanup()923 v4l2_ctrl_handler_free(&cn3927v_dev->ctrls_vcm); in cn3927v_subdev_cleanup()924 media_entity_cleanup(&cn3927v_dev->sd.entity); in cn3927v_subdev_cleanup()1273 struct cn3927v_device *cn3927v_dev; in cn3927v_probe() local1283 cn3927v_dev = devm_kzalloc(dev, sizeof(*cn3927v_dev), in cn3927v_probe()1285 if (cn3927v_dev == NULL) in cn3927v_probe()1288 ret = cn3927v_parse_dt_property(client, cn3927v_dev); in cn3927v_probe()1291 v4l2_i2c_subdev_init(&cn3927v_dev->sd, client, &cn3927v_ops); in cn3927v_probe()[all …]