From: Ohad Ben-Cohen Date: Sun, 14 Oct 2012 18:16:01 +0000 (+0200) Subject: ARM: OMAP: don't print any error when wl12xx isn't configured X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2377dd11df7fe2d5a19319b157ec51d0602c31c0;p=pandora-kernel.git ARM: OMAP: don't print any error when wl12xx isn't configured Stop intimidating users with scary wlan error messages in case wl12xx support wasn't even built. In addition, when wl12xx_set_platform_data() fails, don't bother registering wl12xx's fixed regulator device (on the relevant boards). While we're at it, extract the wlan init code to a dedicated function to make (the relevant boards') init code look a bit nicer. Reported-by: Russell King Signed-off-by: Ohad Ben-Cohen Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed