aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/power/main.c
diff options
context:
space:
mode:
authorCai Huoqing <[email protected]>2021-10-18 21:16:21 +0800
committerRafael J. Wysocki <[email protected]>2021-10-21 13:04:57 +0200
commit9437e393777e6d6c30807c2e9abe27b14703e7f4 (patch)
tree88b2622556bc1ab96a3e1c27b041226030b0cada /drivers/base/power/main.c
parent01de5fcd8b1ac0ca28d2bb0921226a54fdd62684 (diff)
PM: hibernate: swap: Use vzalloc() and kzalloc()
Replace vmalloc()/memset() with vzalloc() and kmalloc()/memset() with kzalloc() to simplify the code. Signed-off-by: Cai Huoqing <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/base/power/main.c')
0 files changed, 0 insertions, 0 deletions