summaryrefslogtreecommitdiff
path: root/drivers/mfd/lp8788-irq.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-06-03 23:39:44 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-18 11:41:15 +0400
commite578438820cdca91cb5eab477ec062236433ce5f (patch)
tree79e0cf11bb20c6a90874463eea284cdd3f85e294 /drivers/mfd/lp8788-irq.c
parent6378c1e511d97218f33936f47888095023c9ffaf (diff)
downloadlinux-e578438820cdca91cb5eab477ec062236433ce5f.tar.xz
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> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/lp8788-irq.c')
0 files changed, 0 insertions, 0 deletions