diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-01-08 12:50:14 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-08 08:30:48 -0500 |
commit | d537fc0c0e23ce87201cb763bf040e730834f94d (patch) | |
tree | 3a9076f23e0fa7767f8a9576cdd83a44dd92f0d1 /drivers/ata/pata_ninja32.c | |
parent | c592b74f6b8ba72cb0b5a90ceb0989fc35fc1391 (diff) | |
download | blackbird-obmc-linux-d537fc0c0e23ce87201cb763bf040e730834f94d.tar.gz blackbird-obmc-linux-d537fc0c0e23ce87201cb763bf040e730834f94d.zip |
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>
Diffstat (limited to 'drivers/ata/pata_ninja32.c')
0 files changed, 0 insertions, 0 deletions