usb: isp1760: hcd: refactor mempool config and setup
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 13 May 2021 08:47:13 +0000 (09:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 18:05:32 +0000 (20:05 +0200)
commita74f639c5b5618e2c9f311c93bc3e7405de8ca85
tree6f8408471c5f51487e802bdec68485b5729e6c78
parentf9a88370e6751c68a8f0d1c3f23100ca20596249
usb: isp1760: hcd: refactor mempool config and setup

In preparation to support other family member IP, which may have
different memory layout. Drop macros and setup a configuration
struct.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210513084717.2487366-6-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/isp1760/isp1760-core.c
drivers/usb/isp1760/isp1760-hcd.c
drivers/usb/isp1760/isp1760-hcd.h