[PATCH] Clean up pcf50606_client_dev_register

tim.niemeyer at mastersword.de tim.niemeyer at mastersword.de
Tue Mar 24 11:11:20 CET 2009


platform_device_add_data copies the data, so no need for
kmalloc.

Signed-off-by: Tim Niemeyer <reddog at mastersword.de>
---
 drivers/mfd/pcf50606-core.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8ff79e603363669c7a758b8bdd0ced287a283b32.diff
Type: text/x-patch
Size: 979 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20090324/e5818c3c/attachment.bin 


More information about the openmoko-kernel mailing list