[alsa-devel] [PATCH v2 9/9] snd-atmel-abdac: replace bus_id with dev_name()

Hans-Christian Egtvedt hans-christian.egtvedt at atmel.com
Thu Apr 2 08:21:18 CEST 2009


This patch replaces the references to bus_id to the new dev_name() API.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com>
---
 sound/atmel/abdac.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c
index 28b3c7f..32064fa 100644
--- a/sound/atmel/abdac.c
+++ b/sound/atmel/abdac.c
@@ -502,7 +502,7 @@ static int __devinit atmel_abdac_probe(struct platform_device *pdev)
 	platform_set_drvdata(pdev, card);
 
 	dev_info(&pdev->dev, "Atmel ABDAC at 0x%p using %s\n",
-			dac->regs, dac->dma.chan->dev->device.bus_id);
+			dac->regs, dev_name(&dac->dma.chan->dev->device));
 
 	return retval;
 
-- 
1.5.6.3



More information about the Alsa-devel mailing list