int32_t ov5693_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id) { int rc = 0; pr_info(" %s\n", __func__); rc = msm_sensor_i2c_probe(client, id); if(rc >= 0) ov5693_sysfs_init(); pr_info(" %s: rc(%d)\n", __func__, rc); return rc; }
static int ov5693_probe(struct platform_device *pdev) { int rc = 0; pr_info("%s\n", __func__); rc = msm_sensor_register(pdev, ov5693_sensor_v4l2_probe); if(rc >= 0) ov5693_sysfs_init(); return rc; }