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:
e2f6bce
)
mtd: nand/fsmc: Use devm routines
author
Vipin Kumar
<vipin.kumar@st.com>
Wed, 14 Mar 2012 06:17:15 +0000
(11:47 +0530)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:59:42 +0000
(
00:59
+0100)
fsmc_nand driver currently uses normal kzalloc, request_mem etc routines. This
patch replaces these routines with devm_kzalloc and devm_request_mem_region etc.
Consequently, the error and driver removal scenarios are curtailed.
Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Reviewed-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c
patch
|
blob
|
history
diff --cc
drivers/mtd/nand/fsmc_nand.c
Simple merge