if ((!p_dev->instance) || (p_dev->client.state & CLIENT_UNBOUND)) { 
if ((!p_dev->instance) || (p_dev->state & CLIENT_UNBOUND)) { 
static int pcmcia_device_probe(struct device * dev){	struct pcmcia_device *p_dev;	struct pcmcia_driver *p_drv;	int ret = 0;	dev = get_device(dev);	if (!dev)		return -ENODEV;	p_dev = to_pcmcia_dev(dev);	p_drv = to_pcmcia_drv(dev->driver);	if (!try_module_get(p_drv->owner)) {		ret = -EINVAL;		goto put_dev;	}	if (p_drv->attach) {		p_dev->instance = p_drv->attach();		if ((!p_dev->instance) || (p_dev->client.state & CLIENT_UNBOUND)) {			printk(KERN_NOTICE "ds: unable to create instance "			       "of '%s'!\n", p_drv->drv.name);			ret = -EINVAL;		}	}	if (ret)		module_put(p_drv->owner); put_dev:	if ((ret) || !(p_drv->attach))		put_device(dev);	return (ret);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/e12a9a93a8417c4f2aa46ce8346c2d27e656b9a2/ds.c/buggy/drivers/pcmcia/ds.c