iep driver:

get rid of kfree buffer which allocated using devm_kzalloc.

Signed-off-by: ljf <ljf@rock-chips.com>
This commit is contained in:
ljf
2014-12-16 19:56:18 +08:00
parent bc190eca53
commit 0b6f34f8ac

View File

@@ -996,8 +996,6 @@ err_irq:
err_ioremap:
wake_lock_destroy(&data->wake_lock);
err_clock:
kfree(data);
return ret;
}
@@ -1032,7 +1030,6 @@ static int iep_drv_remove(struct platform_device *pdev)
}
#endif
//devm_kfree(data);
return 0;
}