Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pcmcia: sa11xx_base: add units to the timing information

Add units to the timing information, so we know that the numbers are
nanoseconds. The output changes from:

I/O : 165 (172)
attribute: 300 (316)
common : 300 (316)

to:

I/O : 165ns (172ns)
attribute: 300ns (316ns)
common : 300ns (316ns)

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

+3 -3
+3 -3
drivers/pcmcia/sa11xx_base.c
··· 150 150 151 151 soc_common_pcmcia_get_timing(skt, &timing); 152 152 153 - p+=sprintf(p, "I/O : %u (%u)\n", timing.io, 153 + p+=sprintf(p, "I/O : %uns (%uns)\n", timing.io, 154 154 sa1100_pcmcia_cmd_time(clock, MECR_BSIO_GET(mecr, skt->nr))); 155 155 156 - p+=sprintf(p, "attribute: %u (%u)\n", timing.attr, 156 + p+=sprintf(p, "attribute: %uns (%uns)\n", timing.attr, 157 157 sa1100_pcmcia_cmd_time(clock, MECR_BSA_GET(mecr, skt->nr))); 158 158 159 - p+=sprintf(p, "common : %u (%u)\n", timing.mem, 159 + p+=sprintf(p, "common : %uns (%uns)\n", timing.mem, 160 160 sa1100_pcmcia_cmd_time(clock, MECR_BSM_GET(mecr, skt->nr))); 161 161 162 162 return p - buf;