diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-10-23 17:01:17 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-10-23 17:01:17 +0200 |
commit | b11bdb5254ff17cb63e4ae5088b73fdcd2cc2602 (patch) | |
tree | b5d57f358bf83d31ccdad3604b4a6e82a47ff612 /sound/soc/omap/am3517evm.c | |
parent | 4428bc0990ba545e2ef0dea8ec1b90c256b22958 (diff) | |
parent | 84eae18c867fcb7ce43d5830e23377ed33e45df9 (diff) |
Merge branch 'for-2.6.37' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc
Diffstat (limited to 'sound/soc/omap/am3517evm.c')
-rw-r--r-- | sound/soc/omap/am3517evm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/omap/am3517evm.c b/sound/soc/omap/am3517evm.c index 68bd902ccd4e..979dd508305f 100644 --- a/sound/soc/omap/am3517evm.c +++ b/sound/soc/omap/am3517evm.c @@ -157,10 +157,8 @@ static int __init am3517evm_soc_init(void) { int ret; - if (!machine_is_omap3517evm()) { - pr_err("Not OMAP3517 / AM3517 EVM!\n"); + if (!machine_is_omap3517evm()) return -ENODEV; - } pr_info("OMAP3517 / AM3517 EVM SoC init\n"); am3517evm_snd_device = platform_device_alloc("soc-audio", -1); |