commit | d537fc0c0e23ce87201cb763bf040e730834f94d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Jan 08 12:50:14 2015 +0200 |
committer | Tejun Heo <tj@kernel.org> | Thu Jan 08 08:30:48 2015 -0500 |
tree | 3a9076f23e0fa7767f8a9576cdd83a44dd92f0d1 | |
parent | c592b74f6b8ba72cb0b5a90ceb0989fc35fc1391 [diff] |
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 <andriy.shevchenko@linux.intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>