git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb61f3
)
staging: dgap: introduce dgap_cleanup_nodes()
author
Daeseok Youn
<daeseok.youn@gmail.com>
Thu, 31 Jul 2014 04:02:30 +0000
(13:02 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:05 +0000
(12:23 -0700)
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>
drivers/staging/dgap/dgap.c
patch
|
blob
|
history
diff --cc
drivers/staging/dgap/dgap.c
Simple merge