commit | 99a643b8aebb91d1dba8dff6c0e416dfd1140b07 | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Thu Jul 31 13:02:30 2014 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 16 12:23:05 2014 -0700 |
tree | 35f36af74c8f6757a480f6eb2cef6be7e7a9da01 | |
parent | 2eb61f38821979dd3d065a8bbb72dc9f6306f005 [diff] |
staging: dgap: introduce dgap_cleanup_nodes() When a configration file is parsed with dgap_parsefile(), makes nodes for saving configrations for board. Making a node will allocate node memory and strings for saving configrations with kstrdup(). So these are freed when dgap is unloaded or failed to initialize. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Tested-by: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>