summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-06-03 12:39:44 -0700
committerDavid Brown <davidb@codeaurora.org>2013-06-12 14:50:12 -0700
commit1aa3d1a3c7d235c47e30c7c8c6b5ef02fb1536b3 (patch)
tree1f1cf15f61d59cfd17cf7063d9db523353524b6d /arch
parent43f68444bce70e360ff6ce3653a54e511625f651 (diff)
downloadblackbird-op-linux-1aa3d1a3c7d235c47e30c7c8c6b5ef02fb1536b3.tar.gz
blackbird-op-linux-1aa3d1a3c7d235c47e30c7c8c6b5ef02fb1536b3.zip
mfd: ssbi: Use devm_* and simplify code
Use devm_ioremap_resource and devm_kzalloc to simplify error paths and reduce lines of code. Also use dev_err() to keep consistency and drop the .remove function because the devm functions take care of what it's doing besides the now obsolete platform_set_drvdata() which we can just drop. Finally, use module_platform_driver() to save some more lines. Cc: David Brown <davidb@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud