From: Roger Quadros Date: Mon, 26 Nov 2012 13:26:28 +0000 (+0200) Subject: mfd: omap-usb-tll: Fix error message X-Git-Tag: v3.9-rc1~92^2~1^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ed8619141198191d09f63fa6f172af361ad280d;p=pandora-kernel.git mfd: omap-usb-tll: Fix error message omap_enable/disable_tll() can fail if TLL device is not initialized. It could be due to multiple reasons and not only due to missing platform data. Also make local variables static and use 'struct device *' instead of 'struct platform_device *' for global reference. Signed-off-by: Roger Quadros Reviewed-by: Felipe Balbi --- Reading git-diff-tree failed