18 Jun, 2013
2 commits
-
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
Signed-off-by: Stephen Boyd
Acked-by: Lee Jones
Signed-off-by: Samuel Ortiz -
This allows the ssbi module to be autoloaded on boot.
Cc: David Brown
Signed-off-by: Stephen Boyd
Signed-off-by: Samuel Ortiz
12 Jun, 2013
1 commit
-
There is no reason for ssbi to have its own top-level driver directory
when the only users of this interface are all MFD drivers. The only
mainline driver using it at the moment (PM8921) is marked broken and in
fact does not compile. I have verified that fixing the trivial build
breakage in pm8921 links in the new ssbi code just fine, but that
can be a separate patch.Signed-off-by: Arnd Bergmann
Acked-by: Greg Kroah-Hartman
Acked-by: Nicolas Pitre
Acked-by: David Brown
Signed-off-by: Samuel Ortiz