ds_bus_master->data 		= (unsigned long)ds_dev; ds_bus_master->touch_bit 	= &ds9490r_touch_bit; ds_bus_master->read_bit 	= &ds9490r_read_bit; ds_bus_master->write_bit 	= &ds9490r_write_bit; ds_bus_master->read_byte 	= &ds9490r_read_byte; ds_bus_master->write_byte 	= &ds9490r_write_byte; ds_bus_master->read_block 	= &ds9490r_read_block; ds_bus_master->write_block 	= &ds9490r_write_block; 
ds_bus_master->data		= (unsigned long)ds_dev; ds_bus_master->touch_bit	= &ds9490r_touch_bit; ds_bus_master->read_bit		= &ds9490r_read_bit; ds_bus_master->write_bit	= &ds9490r_write_bit; ds_bus_master->read_byte	= &ds9490r_read_byte; ds_bus_master->write_byte	= &ds9490r_write_byte; ds_bus_master->read_block	= &ds9490r_read_block; ds_bus_master->write_block	= &ds9490r_write_block; 
static int __devinit ds_w1_init(void){	int err;		ds_bus_master = kmalloc(sizeof(*ds_bus_master), GFP_KERNEL);	if (!ds_bus_master) {		printk(KERN_ERR "Failed to allocate DS9490R USB<->W1 bus_master structure.\n");		return -ENOMEM;	}	ds_dev = ds_get_device();	if (!ds_dev) {		printk(KERN_ERR "DS9490R is not registered.\n");		err =  -ENODEV;		goto err_out_free_bus_master;	}	memset(ds_bus_master, 0, sizeof(*ds_bus_master));	ds_bus_master->data 		= (unsigned long)ds_dev;	ds_bus_master->touch_bit 	= &ds9490r_touch_bit;	ds_bus_master->read_bit 	= &ds9490r_read_bit;	ds_bus_master->write_bit 	= &ds9490r_write_bit;	ds_bus_master->read_byte 	= &ds9490r_read_byte;	ds_bus_master->write_byte 	= &ds9490r_write_byte;	ds_bus_master->read_block 	= &ds9490r_read_block;	ds_bus_master->write_block 	= &ds9490r_write_block;	ds_bus_master->reset_bus	= &ds9490r_reset;	err = w1_add_master_device(ds_bus_master);	if (err)		goto err_out_put_device;	return 0;err_out_put_device:	ds_put_device(ds_dev);err_out_free_bus_master:	kfree(ds_bus_master);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8949d2aa05ddf5e9a31d738568a79915970cb38e/ds_w1_bridge.c/buggy/drivers/w1/ds_w1_bridge.c