diff options
author | Roger Quadros <rogerq@ti.com> | 2012-11-26 15:26:28 +0200 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2013-02-13 13:22:42 +0200 |
commit | 7ed8619141198191d09f63fa6f172af361ad280d (patch) | |
tree | af3378eaa148463c955133ad54503223c61c8547 /drivers/mfd/arizona-spi.c | |
parent | 8bdbd1549479840293e46bf0f84d7174e77b7b5e (diff) | |
download | lwn-7ed8619141198191d09f63fa6f172af361ad280d.tar.gz lwn-7ed8619141198191d09f63fa6f172af361ad280d.zip |
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>
Diffstat (limited to 'drivers/mfd/arizona-spi.c')
0 files changed, 0 insertions, 0 deletions