alistair23-linux/drivers/misc/eeprom
Himangi Saraogi 1698da2461 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 <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 23:04:17 -07:00
..
at24.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
at25.c drivers/misc: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
digsy_mtc_eeprom.c misc/eeprom: add eeprom access driver for digsy_mtc board 2011-07-25 20:57:16 -07:00
eeprom.c EEPROM: Introduce the use of devm_kzalloc 2014-09-23 23:04:17 -07:00
eeprom_93cx6.c eeprom_93cx6: Add write support 2011-11-26 14:59:39 -05:00
eeprom_93xx46.c drivers/misc: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
Kconfig ARM: sunxi: Initial support for Allwinner's Security ID fuses 2013-09-26 13:47:36 -07:00
Makefile ARM: sunxi: Initial support for Allwinner's Security ID fuses 2013-09-26 13:47:36 -07:00
max6875.c drivers/misc: delete non-required instances of include <linux/init.h> 2014-02-07 15:10:19 -08:00
sunxi_sid.c misc: eeprom: sunxi: Change compatibles 2014-02-14 13:51:56 -08:00