diff options
author | Stephen Boyd <[email protected]> | 2013-06-03 12:39:44 -0700 |
---|---|---|
committer | Samuel Ortiz <[email protected]> | 2013-06-18 09:41:15 +0200 |
commit | e578438820cdca91cb5eab477ec062236433ce5f (patch) | |
tree | 79e0cf11bb20c6a90874463eea284cdd3f85e294 /net/unix/sysctl_net_unix.c | |
parent | 6378c1e511d97218f33936f47888095023c9ffaf (diff) |
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 <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Acked-by: Lee Jones <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions