 tp = (struct spi_transport_attrs *)&starget->starget_data; 
struct spi_transport_attrs *tp = (struct spi_transport_attrs *)&starget->starget_data; 
static ssize_t show_spi_transport_period(struct class_device *cdev, char *buf){	struct scsi_target *starget = transport_class_to_starget(cdev);	struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);	struct spi_transport_attrs *tp;	int len, picosec;	struct spi_internal *i = to_spi_internal(shost->transportt);	tp = (struct spi_transport_attrs *)&starget->starget_data;	if (i->f->get_period)		i->f->get_period(starget);	if (tp->period < 0 || tp->period > 0xff) {		picosec = -1;	} else if (tp->period <= SPI_STATIC_PPR) {		picosec = ppr_to_ps[tp->period];	} else {		picosec = tp->period * 4000;	}	if (picosec == -1) {		len = sprintf(buf, "reserved");	} else {		len = sprint_frac(buf, picosec, 1000);	}	buf[len++] = '\n';	buf[len] = '\0';	return len;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/62a8612972eaea804e1e42c63ee403cd4e14cc35/scsi_transport_spi.c/clean/drivers/scsi/scsi_transport_spi.c