diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2010-07-05 16:37:07 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-07-06 02:19:06 -0400 |
commit | 1dd6aaaafc930dd9bfaa6ea1d21bac2b4ec12527 (patch) | |
tree | 31fcee435573b82e6ba7479244bd2df539870e26 | |
parent | 168f1b07ccc0e8edecb67fab2d0670861853e2fd (diff) |
ALSA: asihpi - Use version string instead of printf formatting
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/asihpi/hpioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c index 7396ac54e99f..311499992a22 100644 --- a/sound/pci/asihpi/hpioctl.c +++ b/sound/pci/asihpi/hpioctl.c | |||
@@ -464,9 +464,7 @@ void __init asihpi_init(void) | |||
464 | 464 | ||
465 | memset(adapters, 0, sizeof(adapters)); | 465 | memset(adapters, 0, sizeof(adapters)); |
466 | 466 | ||
467 | printk(KERN_INFO "ASIHPI driver %d.%02d.%02d\n", | 467 | printk(KERN_INFO "ASIHPI driver " HPI_VER_STRING "\n"); |
468 | HPI_VER_MAJOR(HPI_VER), HPI_VER_MINOR(HPI_VER), | ||
469 | HPI_VER_RELEASE(HPI_VER)); | ||
470 | 468 | ||
471 | hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, | 469 | hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, |
472 | HPI_SUBSYS_DRIVER_LOAD); | 470 | HPI_SUBSYS_DRIVER_LOAD); |