ALSA: asihpi - Use version string instead of printf formatting
authorEliot Blennerhassett <eblennerhassett@audioscience.com>
Mon, 5 Jul 2010 20:37:07 +0000 (08:37 +1200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 6 Jul 2010 06:19:06 +0000 (08:19 +0200)
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/hpioctl.c

index 7396ac54e99f552d303a3d2ab3964f52debdd0bc..311499992a2209ac118bca8b7a945322eff916c9 100644 (file)
@@ -464,9 +464,7 @@ void __init asihpi_init(void)
 
        memset(adapters, 0, sizeof(adapters));
 
-       printk(KERN_INFO "ASIHPI driver %d.%02d.%02d\n",
-               HPI_VER_MAJOR(HPI_VER), HPI_VER_MINOR(HPI_VER),
-               HPI_VER_RELEASE(HPI_VER));
+       printk(KERN_INFO "ASIHPI driver " HPI_VER_STRING "\n");
 
        hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM,
                HPI_SUBSYS_DRIVER_LOAD);