ide: cleanup ide_fix_driveid()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:18 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:18 +0000 (22:39 +0200)
commit5b90e990928919ae411a68b865e8a6ecac09a603
tree4c372c575eb58b971e1283c216c690f4ec719e9f
parentdf1f8378c2fd898fa08be5d72283d68c77f519e9
ide: cleanup ide_fix_driveid()

Do all __le16_to_cpu() swapping in one loop.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c