]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
USB: xhci: trivial: use ARRAY_SIZE
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 28 Jun 2010 11:55:46 +0000 (15:55 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 21:35:38 +0000 (14:35 -0700)
commite10fa4787f1fb9c8738dff955c272f30b7b63134
tree111d4e6a46681f1c3bcbbc56606858b4291de468
parentf9ff70c25a7779cf6e2b0ff4aecf9c9b28eefae6
USB: xhci: trivial: use ARRAY_SIZE

Change sizeof(x) / sizeof(*x) to ARRAY_SIZE(x).

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-mem.c