drivers: ide: Fix mostly harmless off-by-one hardcoded value
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 27 Nov 2014 21:57:29 +0000 (22:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Dec 2014 20:26:31 +0000 (15:26 -0500)
commitca957b6a34a6f7014828f235e35c1945cb955795
tree3b215cd6d91bed62f19736b90e7806951c42f3f2
parent1746fbe5656b1b10064913b9293a4590ec0b7f27
drivers: ide: Fix mostly harmless off-by-one hardcoded value

The string "IOMEGA Clik!" has length 12, not 11. Using strstarts
avoids the error-prone hardcoding of the prefix length. For
consistency, also change the occurence just above.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-floppy.c