Here you have the split version of the latest patch. I made some minor changes (like renaming ipack_device_register() to ipack_device_add, the same for _unregister with _del and so on).
Now, it is required to use ipack_put_device() in case of any error when registering a new device. I want to send these patches at the end of the week, if nobody complains. Cheers, Sam Samuel Iglesias Gonsalvez (3): ipack: avoid double free on device->id ipack: add ipack_get_device() ipack_put_device() ipack: split ipack_device_register() in several functions drivers/ipack/carriers/tpci200.c | 14 ++++++++++++- drivers/ipack/ipack.c | 37 ++++++++++++++++++++++++--------- include/linux/ipack.h | 42 +++++++++++++++++++++++++++++--------- 3 files changed, 72 insertions(+), 21 deletions(-) -- 1.7.10.4 ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Industrypack-devel mailing list Industrypack-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/industrypack-devel