From 3f5756aba43df11c3952af5f50fa8548a4139477 Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Mon, 23 Apr 2007 11:54:41 +0200 Subject: [PATCH] --- yaml --- r: 56182 b: refs/heads/master c: 479ef4369f65abf4c3e7bbe44ef934a465257ee1 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/drivers/mts64.c | 4 ++-- trunk/sound/drivers/portman2x4.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 1b203528f372..aaa9399f6d5e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9422db4018cbfaa1a330b018a2bf6527d282b417 +refs/heads/master: 479ef4369f65abf4c3e7bbe44ef934a465257ee1 diff --git a/trunk/sound/drivers/mts64.c b/trunk/sound/drivers/mts64.c index 6c9f4c9bfeb6..ebb1bdac7237 100644 --- a/trunk/sound/drivers/mts64.c +++ b/trunk/sound/drivers/mts64.c @@ -892,13 +892,13 @@ static void __devinit snd_mts64_attach(struct parport *p) struct platform_device *device; device = platform_device_alloc(PLATFORM_DRIVER, device_count); - if (!device) + if (!device) return; /* Temporary assignment to forward the parport */ platform_set_drvdata(device, p); - if (platform_device_register(device) < 0) { + if (platform_device_add(device) < 0) { platform_device_put(device); return; } diff --git a/trunk/sound/drivers/portman2x4.c b/trunk/sound/drivers/portman2x4.c index b2d0ba4bd184..497cafb57d9b 100644 --- a/trunk/sound/drivers/portman2x4.c +++ b/trunk/sound/drivers/portman2x4.c @@ -676,13 +676,13 @@ static void __devinit snd_portman_attach(struct parport *p) struct platform_device *device; device = platform_device_alloc(PLATFORM_DRIVER, device_count); - if (!device) + if (!device) return; /* Temporary assignment to forward the parport */ platform_set_drvdata(device, p); - if (platform_device_register(device) < 0) { + if (platform_device_add(device) < 0) { platform_device_put(device); return; }