diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-03-12 05:22:15 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 20:14:34 +0200 |
commit | fb35a5ad5b4b2c3806b52b0159f4d5a0ad205c0f (patch) | |
tree | 194d818dd431c533991441887bed98a8390c4f61 /block | |
parent | watchdog: sp805: replace readl/writel with lighter _relaxed variants (diff) | |
download | linux-fb35a5ad5b4b2c3806b52b0159f4d5a0ad205c0f.tar.xz linux-fb35a5ad5b4b2c3806b52b0159f4d5a0ad205c0f.zip |
watchdog: sp805: Use devm routines
sp805 driver currently uses normal kzalloc, ioremap, etc routines. This patch
replaces these routines with devm_kzalloc and devm_request_mem_region etc, so
that we don't need to handle freeing of resources for error cases and module
removal routine.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions