diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2013-06-03 20:27:17 (GMT) |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-06-10 10:50:10 (GMT) |
commit | 77f0b9d2ff0c8ff7b36033dfc5b29dab7a0ebd9a (patch) | |
tree | 9c8757d3862de107cdd4fc6993550c2a36f37e00 /drivers/pwm/pwm-atmel-tcb.c | |
parent | e7927141ed51d94d6e1267f2ff0362a1f255e007 (diff) | |
download | linux-77f0b9d2ff0c8ff7b36033dfc5b29dab7a0ebd9a.tar.xz |
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: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-atmel-tcb.c')
0 files changed, 0 insertions, 0 deletions