diff options
author | Himangi Saraogi <[email protected]> | 2014-08-02 00:34:23 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-09-23 23:04:17 -0700 |
commit | 1698da246134e88bb05550dafe7c34b47387655a (patch) | |
tree | a8a01b346ba7c3961907f24a16b9fd43942d2ca7 /include/linux/fpga/fpga-mgr.h | |
parent | cfda2794b5afe7ce64ee9605c64bef0e56a48125 (diff) |
EEPROM: Introduce the use of devm_kzalloc
This patch introduces the use of devm_kzalloc and does away with the
kfrees in the probe and remove functions. Also, a label and the err
variable are removed. The header device.h is included to make the devm_
function explicitly available and slab.h is done away with as it is no
longer needed.
Signed-off-by: Himangi Saraogi <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions