Bartlomiej Zolnierkiewicz 7a56c0ba26 pata_octeon_cf: use devm_kzalloc() to allocate cf_port
As a nice side effect this fixes the cf_port leak on
dma_coerce_mask_and_coherent() or ata_host_activate()
failure.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Daney <david.daney@cavium.com>
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2014-04-14 13:33:28 -04:00
..
2014-04-01 15:14:04 -07:00
2014-03-26 12:36:53 -04:00
2013-06-02 22:22:03 -07:00
2014-03-26 12:36:53 -04:00
2013-07-30 08:59:24 -04:00
2014-03-11 08:30:53 -04:00
2013-06-02 22:22:03 -07:00
2014-03-26 12:36:53 -04:00
2008-01-23 05:24:15 -05:00
2013-06-02 22:22:03 -07:00
2014-03-26 12:36:53 -04:00
2007-07-02 10:17:42 -04:00