mfd: jz4740-adc: Use devm_kzalloc
Use devm_kzalloc and remove the error path free'ing and unload free'ing as the devm resource functions free them. Signed-off-by: NDevendra Naga <devendra.aaru@gmail.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
Showing
想要评论请 注册 或 登录