Searched refs:dw9807_dev (Results 1 – 1 of 1) sorted by relevance
150 static void dw9807_subdev_cleanup(struct dw9807_device *dw9807_dev) in dw9807_subdev_cleanup() argument152 v4l2_async_unregister_subdev(&dw9807_dev->sd); in dw9807_subdev_cleanup()153 v4l2_ctrl_handler_free(&dw9807_dev->ctrls_vcm); in dw9807_subdev_cleanup()154 media_entity_cleanup(&dw9807_dev->sd.entity); in dw9807_subdev_cleanup()180 struct dw9807_device *dw9807_dev; in dw9807_probe() local183 dw9807_dev = devm_kzalloc(&client->dev, sizeof(*dw9807_dev), in dw9807_probe()185 if (dw9807_dev == NULL) in dw9807_probe()188 v4l2_i2c_subdev_init(&dw9807_dev->sd, client, &dw9807_ops); in dw9807_probe()189 dw9807_dev->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in dw9807_probe()190 dw9807_dev->sd.internal_ops = &dw9807_int_ops; in dw9807_probe()[all …]