Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 77f0b9d2 authored by Wolfram Sang's avatar Wolfram Sang Committed by Thierry Reding
Browse files

pwm: devm: alloc correct pointer size



The allocated object should be the size of what the pointer is pointing
to and not the size of the pointer itself.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent e7927141
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment