ACPI: replace strlen("string") with sizeof("string") -1

...both give the number of chars in the string
without the '\0', as strncmp() wants,
but sizeof() is compile-time.

Reported-by: Alan Stern <[email protected]>
Cc: Pavel Vasilyev <[email protected]>
Signed-off-by: Len Brown <[email protected]>
1 file changed