Searched refs:ak7375_dev (Results 1 – 1 of 1) sorted by relevance
115 static void ak7375_subdev_cleanup(struct ak7375_device *ak7375_dev) in ak7375_subdev_cleanup() argument117 v4l2_async_unregister_subdev(&ak7375_dev->sd); in ak7375_subdev_cleanup()118 v4l2_ctrl_handler_free(&ak7375_dev->ctrls_vcm); in ak7375_subdev_cleanup()119 media_entity_cleanup(&ak7375_dev->sd.entity); in ak7375_subdev_cleanup()142 struct ak7375_device *ak7375_dev; in ak7375_probe() local145 ak7375_dev = devm_kzalloc(&client->dev, sizeof(*ak7375_dev), in ak7375_probe()147 if (!ak7375_dev) in ak7375_probe()150 v4l2_i2c_subdev_init(&ak7375_dev->sd, client, &ak7375_ops); in ak7375_probe()151 ak7375_dev->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in ak7375_probe()152 ak7375_dev->sd.internal_ops = &ak7375_int_ops; in ak7375_probe()[all …]