diff options
author | David S. Miller <davem@davemloft.net> | 2008-10-11 15:39:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-11 15:39:35 -0400 |
commit | 56c5d900dbb8e042bfad035d18433476931d8f93 (patch) | |
tree | 00b793965beeef10db03e0ff021d2d965c410759 /sound/arm/aaci.c | |
parent | 4dd95b63ae25c5cad6986829b5e8788e9faa0330 (diff) | |
parent | ead9d23d803ea3a73766c3cb27bf7563ac8d7266 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
sound/core/memalloc.c
Diffstat (limited to 'sound/arm/aaci.c')
-rw-r--r-- | sound/arm/aaci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index b0a474494966..89096e811a4b 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c | |||
@@ -999,7 +999,7 @@ static struct aaci * __devinit aaci_init_card(struct amba_device *dev) | |||
999 | card = snd_card_new(SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1, | 999 | card = snd_card_new(SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1, |
1000 | THIS_MODULE, sizeof(struct aaci)); | 1000 | THIS_MODULE, sizeof(struct aaci)); |
1001 | if (card == NULL) | 1001 | if (card == NULL) |
1002 | return ERR_PTR(-ENOMEM); | 1002 | return NULL; |
1003 | 1003 | ||
1004 | card->private_free = aaci_free_card; | 1004 | card->private_free = aaci_free_card; |
1005 | 1005 | ||
@@ -1083,8 +1083,8 @@ static int __devinit aaci_probe(struct amba_device *dev, void *id) | |||
1083 | return ret; | 1083 | return ret; |
1084 | 1084 | ||
1085 | aaci = aaci_init_card(dev); | 1085 | aaci = aaci_init_card(dev); |
1086 | if (IS_ERR(aaci)) { | 1086 | if (!aaci) { |
1087 | ret = PTR_ERR(aaci); | 1087 | ret = -ENOMEM; |
1088 | goto out; | 1088 | goto out; |
1089 | } | 1089 | } |
1090 | 1090 | ||