-
由 Wei Yongjun 提交于
It's not necessary to free memory allocated with devm_kzalloc and using kfree leads to a double free. Fixes: cfad6425 ("eeprom: Add IDT 89HPESx EEPROM/CSR driver") Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NSerge Semin <fancer.lancer@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
f2d69760