summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm8400-private.h
diff options
context:
space:
mode:
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>2011-10-12 09:38:35 +0900
committerVinod Koul <vinod.koul@linux.intel.com>2011-10-12 10:51:24 +0530
commit01631243d712d41681d61c0556341a3329860c47 (patch)
treefcaa0e40b761b5cdd0dee64c658c6c69fa53ebc6 /include/linux/mfd/wm8400-private.h
parentc43f1508686e8e4746012bf87995085eeb0f5307 (diff)
downloadblackbird-op-linux-01631243d712d41681d61c0556341a3329860c47.tar.gz
blackbird-op-linux-01631243d712d41681d61c0556341a3329860c47.zip
pch_dma: Reduce wasting memory
nr_channels is defined in "struct pch_dma". and struct pch_dma_chan is defined in "struct pch_dma". So, "sizeof(struct pch_dma_chan) * nr_channels" is unnecessary. Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8400-private.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud