Skip to content
Commit 2f02a7ec authored by Fuqian Huang's avatar Fuqian Huang Committed by Rafael J. Wysocki
Browse files

kernel: power: swap: use kzalloc() instead of kmalloc() followed by memset()



Use zeroing allocator instead of using allocator
followed with memset with 0

Signed-off-by: default avatarFuqian Huang <huangfq.daxian@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
[ rjw: Subject ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent e9bea8f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment