]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sgiioc4: use ide_host_add() (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 23 Oct 2008 21:22:06 +0000 (23:22 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 23 Oct 2008 21:22:06 +0000 (23:22 +0200)
commit95a84cd19224e7d41934d261b568dd04bf2bda3e
tree3cafc0ff7a35fcd15352884de73c988cd0714f8b
parent3059ef99a167da6d5d77701fda5b905d985e31af
sgiioc4: use ide_host_add() (take 2)

Convert the driver to use ide_host_add() -- this seems to be a straightforward
change which I'm not sure why hasn't been done yet...

While doing this at last, get rid of:

- useless local copy of the 'sgiioc4_port_info' variable;

- unnecessary 'goto' and label...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: jeremy@sgi.com
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/sgiioc4.c