From: Himangi Saraogi Date: Fri, 1 Aug 2014 19:04:23 +0000 (+0530) Subject: EEPROM: Introduce the use of devm_kzalloc X-Git-Tag: fixes-for-v3.18-merge-window~11^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1698da246134e88bb05550dafe7c34b47387655a;p=pandora-kernel.git 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 Acked-by: Julia Lawall Reviewed-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed