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: NWolfram Sang <wsa@the-dreams.de> Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
Showing
想要评论请 注册 或 登录