From: Andy Shevchenko Date: Thu, 8 Jan 2015 10:50:14 +0000 (+0200) Subject: sata_dwc_460ex: convert to devm_kzalloc in ->probe() X-Git-Tag: fixes-v4.0-rc1~165^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d537fc0c0e23ce87201cb763bf040e730834f94d;p=pandora-kernel.git sata_dwc_460ex: convert to devm_kzalloc in ->probe() The patch converts ->probe() to use devm_kzalloc that simplifies error path. Note that ata_host_alloc_pinfo() has been using device resources already. Signed-off-by: Andy Shevchenko Signed-off-by: Tejun Heo --- Reading git-diff-tree failed