memzero(drv_data, sizeof(*drv_data)); 
static int ixp2000_i2c_probe(struct device *dev){	int err;	struct platform_device *plat_dev = to_platform_device(dev);	struct ixp2000_i2c_pins *gpio = plat_dev->dev.platform_data;	struct ixp2000_i2c_data *drv_data = 		kmalloc(sizeof(struct ixp2000_i2c_data), GFP_KERNEL);	if (!drv_data)		return -ENOMEM;	memzero(drv_data, sizeof(*drv_data));	drv_data->gpio_pins = gpio;	drv_data->algo_data.data = gpio;	drv_data->algo_data.setsda = ixp2000_bit_setsda;	drv_data->algo_data.setscl = ixp2000_bit_setscl;	drv_data->algo_data.getsda = ixp2000_bit_getsda;	drv_data->algo_data.getscl = ixp2000_bit_getscl;	drv_data->algo_data.udelay = 6;	drv_data->algo_data.mdelay = 6;	drv_data->algo_data.timeout = 100;	drv_data->adapter.id = I2C_HW_B_IXP2000,	strlcpy(drv_data->adapter.name, ixp2000_i2c_driver.name,		I2C_NAME_SIZE);	drv_data->adapter.algo_data = &drv_data->algo_data,	drv_data->adapter.dev.parent = &plat_dev->dev;	gpio_line_config(gpio->sda_pin, GPIO_IN);	gpio_line_config(gpio->scl_pin, GPIO_IN);	gpio_line_set(gpio->scl_pin, 0);	gpio_line_set(gpio->sda_pin, 0);	if ((err = i2c_bit_add_bus(&drv_data->adapter)) != 0) {		dev_err(dev, "Could not install, error %d\n", err);		kfree(drv_data);		return err;	} 	dev_set_drvdata(&plat_dev->dev, drv_data);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2286066faf51890e49ad61e2ceab683666cd9108/i2c-ixp2000.c/buggy/drivers/i2c/busses/i2c-ixp2000.c