drivers/misc: at25: convert to use devm_kzalloc
authorNikolay Balandin <nbalandin@dev.rtsoft.ru>
Tue, 28 May 2013 20:01:21 +0000 (13:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:49:32 +0000 (21:49 +0900)
commit01fe7b43e7c83fe8fbf0b30b47f4ccd2f2058682
treee78eb70bace621face561939ba2ee0cc5a715409
parentf0ac23639c62add367309101d18ae2aa1d4a377c
drivers/misc: at25: convert to use devm_kzalloc

Use devm_kzalloc to make cleanup paths simpler

Signed-off-by: Nikolay Balandin <nbalandin@dev.rtsoft.ru>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at25.c