aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/zoom2.c
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-10-06 09:47:26 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-10-10 06:37:20 -0400
commitec588ae6c21ae20a22ce13a287728a220935b8ee (patch)
treea56583b15d0568793c5622b8e265f013fc8eb676 /sound/soc/omap/zoom2.c
parentad5e4655f9a920b1cc13972e0389eaf9e0ba10b3 (diff)
ASoC: omap: Remove needless prints from machine drivers
It is currently completely normal to execute these machine drivers code on different boards if the kernel includes support for multiple boards so no error message should be printed if the machine_is_xxx does not match with the machine driver. Therefore remove these pr_err and pr_debug prints in those cases. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/omap/zoom2.c')
-rw-r--r--sound/soc/omap/zoom2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/omap/zoom2.c b/sound/soc/omap/zoom2.c
index 338dc9552bd6..718031eeac34 100644
--- a/sound/soc/omap/zoom2.c
+++ b/sound/soc/omap/zoom2.c
@@ -245,10 +245,8 @@ static int __init zoom2_soc_init(void)
245{ 245{
246 int ret; 246 int ret;
247 247
248 if (!machine_is_omap_zoom2()) { 248 if (!machine_is_omap_zoom2())
249 pr_debug("Not Zoom2!\n");
250 return -ENODEV; 249 return -ENODEV;
251 }
252 printk(KERN_INFO "Zoom2 SoC init\n"); 250 printk(KERN_INFO "Zoom2 SoC init\n");
253 251
254 zoom2_snd_device = platform_device_alloc("soc-audio", -1); 252 zoom2_snd_device = platform_device_alloc("soc-audio", -1);