Skip to content
Commit ef4e0c21 authored by Mrugesh Katepallewar's avatar Mrugesh Katepallewar Committed by Artem Bityutskiy
Browse files

mtd: davinci_nand: Use managed resources



davinci_nand driver currently uses normal kzalloc, ioremap and get_clk
routines. This patch replaces these routines with devm_kzalloc,
devm_request_and_ioremap and devm_clk_get resp.

Signed-off-by: default avatarMrugesh Katepallewar <mrugesh.mk@ti.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 221b1bd3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment