From: Bartlomiej Zolnierkiewicz Date: Wed, 23 Jul 2008 17:55:59 +0000 (+0200) Subject: ide: add ide_host_free() helper (take 2) X-Git-Tag: v2.6.27-rc1~854^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a69580e1ea9516caada5eed202afd39546e9809;p=pandora-kernel.git ide: add ide_host_free() helper (take 2) * Add ide_host_free() helper and convert ide_host_remove() to use it. * Fix handling of ide_host_register() failure in ide_host_add(), icside.c, ide-generic.c, falconide.c and sgiioc4.c. While at it: * Fix handling of ide_host_alloc_all() failure in ide-generic.c. * Fix handling of ide_host_alloc() failure in falconide.c (also return the correct error value if no device is found). v2: * falconide build fix. (From Stephen Rothwell) Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed