commit | 7ed8619141198191d09f63fa6f172af361ad280d | [log] [tgz] |
---|---|---|
author | Roger Quadros <rogerq@ti.com> | Mon Nov 26 15:26:28 2012 +0200 |
committer | Roger Quadros <rogerq@ti.com> | Wed Feb 13 13:22:42 2013 +0200 |
tree | af3378eaa148463c955133ad54503223c61c8547 | |
parent | 8bdbd1549479840293e46bf0f84d7174e77b7b5e [diff] |
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 <rogerq@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com>