usb: host: xhci: use ffs() in xhci_mem_init()
The for loop to find page size bit can be replaced with ffs(). Signed-off-by:Linyu Yuan <quic_linyyuan@quicinc.com> Signed-off-by:
Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220303110903.1662404-6-mathias.nyman@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please sign in to comment