ahci: Use sizeof(fis) instead of hardcoding '20'
authorTaylor Hutt <thutt@chromium.org>
Mon, 29 Oct 2012 05:23:55 +0000 (05:23 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:42 +0000 (15:20 -0700)
commitc8731115656132b4b449f4e32a867ec48e47c84b
treef81598407ddfbb3ce64937477ea4cf2dc0746144
parent19d1d41e844ea8525f527fd5301aba9eb3006241
ahci: Use sizeof(fis) instead of hardcoding '20'

This cleanup replaces the hardcoded use of '20', which represents the
number of bytes in the FIS, with sizeof(fis).

Signed-off-by: Taylor Hutt <thutt@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ahci.c