mirror of https://gitee.com/openkylin/linux.git
1698da2461
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
at24.c | ||
at25.c | ||
digsy_mtc_eeprom.c | ||
eeprom.c | ||
eeprom_93cx6.c | ||
eeprom_93xx46.c | ||
max6875.c | ||
sunxi_sid.c |