memset(i2c_dev, 0x00, sizeof(*i2c_dev)); 
static struct i2c_dev *get_free_i2c_dev(struct i2c_adapter *adap){	struct i2c_dev *i2c_dev;	i2c_dev = kmalloc(sizeof(*i2c_dev), GFP_KERNEL);	if (!i2c_dev)		return ERR_PTR(-ENOMEM);	memset(i2c_dev, 0x00, sizeof(*i2c_dev));	spin_lock(&i2c_dev_array_lock);	if (i2c_dev_array[adap->nr]) {		spin_unlock(&i2c_dev_array_lock);		dev_err(&adap->dev, "i2c-dev already has a device assigned to this adapter\n");		goto error;	}	i2c_dev->minor = adap->nr;	i2c_dev_array[adap->nr] = i2c_dev;	spin_unlock(&i2c_dev_array_lock);	return i2c_dev;error:	kfree(i2c_dev);	return ERR_PTR(-ENODEV);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/5263ebb51eb098b01caf229498c954999117e4a7/i2c-dev.c/clean/drivers/i2c/i2c-dev.c