Searched refs:ak7375_dev (Results 1 – 1 of 1) sorted by relevance
120 static void ak7375_subdev_cleanup(struct ak7375_device *ak7375_dev) in ak7375_subdev_cleanup() argument122 v4l2_async_unregister_subdev(&ak7375_dev->sd); in ak7375_subdev_cleanup()123 v4l2_ctrl_handler_free(&ak7375_dev->ctrls_vcm); in ak7375_subdev_cleanup()124 media_entity_cleanup(&ak7375_dev->sd.entity); in ak7375_subdev_cleanup()147 struct ak7375_device *ak7375_dev; in ak7375_probe() local151 ak7375_dev = devm_kzalloc(&client->dev, sizeof(*ak7375_dev), in ak7375_probe()153 if (!ak7375_dev) in ak7375_probe()157 ak7375_dev->supplies[i].supply = ak7375_supply_names[i]; in ak7375_probe()161 ak7375_dev->supplies); in ak7375_probe()167 v4l2_i2c_subdev_init(&ak7375_dev->sd, client, &ak7375_ops); in ak7375_probe()[all …]