summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorEliot Blennerhassett <eblennerhassett@audioscience.com>2010-07-06 08:37:07 +1200
committerTakashi Iwai <tiwai@suse.de>2010-07-06 08:19:06 +0200
commit1dd6aaaafc930dd9bfaa6ea1d21bac2b4ec12527 (patch)
tree31fcee435573b82e6ba7479244bd2df539870e26 /sound/pci
parent168f1b07ccc0e8edecb67fab2d0670861853e2fd (diff)
downloadop-kernel-dev-1dd6aaaafc930dd9bfaa6ea1d21bac2b4ec12527.zip
op-kernel-dev-1dd6aaaafc930dd9bfaa6ea1d21bac2b4ec12527.tar.gz
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>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/asihpi/hpioctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c
index 7396ac5..3114999 100644
--- a/sound/pci/asihpi/hpioctl.c
+++ b/sound/pci/asihpi/hpioctl.c
@@ -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);
OpenPOWER on IntegriCloud