diff options
author | Vipin Kumar <vipin.kumar@st.com> | 2012-03-14 07:17:15 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-03-27 01:59:42 +0200 |
commit | 82b9dbe2e0f6870bf385b759b91e403b62a60c5e (patch) | |
tree | 8ab2c80b232abad583ecfada5a1c29311358c65f /security | |
parent | mtd: nand/fsmc: Modify fsmc driver to accept nand timing parameters via platform (diff) | |
download | linux-82b9dbe2e0f6870bf385b759b91e403b62a60c5e.tar.xz linux-82b9dbe2e0f6870bf385b759b91e403b62a60c5e.zip |
mtd: nand/fsmc: Use devm routines
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions