]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb8d3039bce673c62cf30a779b4d45792e4f20a3
tree23348c191684e158cd314e9aaea5eea8ac254452
parent84759d25d4c48db69af6da2faa9f72a6e7510070
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