/* Generic i2c probe concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1'  */
static int vp27smpx_probe(struct i2c_client *client, const struct i2c_device_id *id)
/* Generic i2c probe concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1'  */
static int vp27smpx_probe(struct i2c_client *client, const struct i2c_device_id *id)
{
	struct vp27smpx_state *state;
	struct v4l2_subdev *sd;
	if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
		return -EIO;
	v4l_info(client, "chip found @ 0x%x (%s)\n",
			client->addr << 1, client->adapter->name);
	state = kzalloc(sizeof(struct vp27smpx_state), GFP_KERNEL);
	if (state == NULL)
		return -ENOMEM;
	sd = &state->sd;
	v4l2_i2c_subdev_init(sd, client, &vp27smpx_ops);
	state->audmode = V4L2_TUNER_MODE_STEREO;
	vp27smpx_set_audmode(sd, state->audmode);
	return 0;
}