summaryrefslogtreecommitdiff
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-01-08 12:50:14 +0200
committerTejun Heo <tj@kernel.org>2015-01-08 08:30:48 -0500
commitd537fc0c0e23ce87201cb763bf040e730834f94d (patch)
tree3a9076f23e0fa7767f8a9576cdd83a44dd92f0d1 /drivers/ata/libata-core.c
parentc592b74f6b8ba72cb0b5a90ceb0989fc35fc1391 (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>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions