]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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)
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>

No differences found