From: Viresh Kumar Date: Mon, 12 Mar 2012 04:22:15 +0000 (+0530) Subject: watchdog: sp805: Use devm routines X-Git-Tag: v3.4-rc1~67^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb35a5ad5b4b2c3806b52b0159f4d5a0ad205c0f;p=pandora-kernel.git 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 Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed