Tejun Heo df9eba8c9f pata_at91: fix resource release
Julias Lawall discovered that pata_at91 wasn't freeing a memory region
allocated with kzalloc() on init failure paths.  Upon review,
pata_at91 also seems to be doing unnecessary explicit resource
releases for managed resources too.  Convert memory allocation to
managed one and drop unnecessary explicit resource releases.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Julia Lawall <julia@diku.dk>
Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-08-12 06:16:47 -04:00
..
2009-07-28 21:06:53 -04:00
2009-06-05 17:10:54 -04:00
2009-08-12 06:16:47 -04:00
2009-06-05 14:40:52 -04:00
2009-06-08 09:12:28 -07:00
2009-07-28 21:05:18 -04:00
2009-06-23 01:54:27 -04:00