usb: chipidea: move malloced regmap directly into struct hw_bank
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Jan 2014 02:10:38 +0000 (10:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 00:21:06 +0000 (16:21 -0800)
commit21395a1aac7ce1e19dbb43542a9e06cca2bfca01
tree23348c191684e158cd314e9aaea5eea8ac254452
parent2627cb08129d7fa152f97dd0732736fb2df516ee
usb: chipidea: move malloced regmap directly into struct hw_bank

Without this patch a seperate chunk of memory is allocated for the regmap
array. As the regmap is always used it makes no sense to allocate a seperate
memory block for it, this patch moves the regmap array directly into the struct
hw_bank.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/core.c