scsi: ufs: just use sizeof() for snprintf()
authorTomohiro Kusumi <tkusumi@tuxera.com>
Tue, 28 Mar 2017 13:49:29 +0000 (16:49 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 30 Mar 2017 02:42:21 +0000 (22:42 -0400)
commitd985c6eaa896c7f93846f97f1f7ab47aa57903ef
treec4c8c87f9e4dfab1e5a93c6224861dec7013a64e
parent0b9961be101419def7f7249f8e2f9b28d28b8526
scsi: ufs: just use sizeof() for snprintf()

Not much reason to use ARRAY_SIZE() when we know it's for a C string.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c