aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/omap/omap2evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/omap/omap2evm.c')
-rw-r--r--sound/soc/omap/omap2evm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/omap/omap2evm.c b/sound/soc/omap/omap2evm.c
index 38cd1894623..cf3fc8a675b 100644
--- a/sound/soc/omap/omap2evm.c
+++ b/sound/soc/omap/omap2evm.c
@@ -103,10 +103,8 @@ static int __init omap2evm_soc_init(void)
{
int ret;
- if (!machine_is_omap2evm()) {
- pr_debug("Not omap2evm!\n");
+ if (!machine_is_omap2evm())
return -ENODEV;
- }
printk(KERN_INFO "omap2evm SoC init\n");
omap2evm_snd_device = platform_device_alloc("soc-audio", -1);