summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorStephen Boyd2013-06-03 21:39:44 +0200
committerDavid Brown2013-06-12 23:50:12 +0200
commit1aa3d1a3c7d235c47e30c7c8c6b5ef02fb1536b3 (patch)
tree1f1cf15f61d59cfd17cf7063d9db523353524b6d /drivers/gpio/Kconfig
parentgpio: msm: Add device tree and irqdomain support for gpio-msm-v2 (diff)
downloadkernel-qcow2-linux-1aa3d1a3c7d235c47e30c7c8c6b5ef02fb1536b3.tar.gz
kernel-qcow2-linux-1aa3d1a3c7d235c47e30c7c8c6b5ef02fb1536b3.tar.xz
kernel-qcow2-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 'drivers/gpio/Kconfig')
0 files changed, 0 insertions, 0 deletions