summaryrefslogtreecommitdiffstats
path: root/Documentation/DMA-attributes.txt
diff options
context:
space:
mode:
authorDevendra Naga <develkernel412222@gmail.com>2012-07-30 16:29:10 +0545
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-22 19:47:09 -0700
commitbc6e51d8891629a9d117dc75a8a2eb9a411a3510 (patch)
treee9f1a1277719b6ca70281889a590399320c7fd1f /Documentation/DMA-attributes.txt
parent94b05cabc07d7ebb4f9d2f2dce6ab7db20f7fbac (diff)
downloadblackbird-op-linux-bc6e51d8891629a9d117dc75a8a2eb9a411a3510.tar.gz
blackbird-op-linux-bc6e51d8891629a9d117dc75a8a2eb9a411a3510.zip
ds2781_battery: Convert to module_platform_driver
module_platform_driver can be used to replace the platform_driver register and unregister functions, with the calls to module_init and module_exit, i.e. all the code that is doing like the below static int __init mymod_init(void) { return platform_driver_register(&drv_operations); } static void __exit mymod_exit(void) { platform_driver_unregister(&drv_operations); } module_init(mymod_init); module_exit(mymod_exit); can be replaced with module_platform_driver(drv_operations)... Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'Documentation/DMA-attributes.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud