Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56182
b: refs/heads/master
c: 479ef43
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Jaroslav Kysela committed May 11, 2007
1 parent 125d81f commit 3f5756a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9422db4018cbfaa1a330b018a2bf6527d282b417
refs/heads/master: 479ef4369f65abf4c3e7bbe44ef934a465257ee1
4 changes: 2 additions & 2 deletions trunk/sound/drivers/mts64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/drivers/portman2x4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3f5756a

Please sign in to comment.