diff options
author | Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> | 2011-10-12 02:38:35 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2011-10-12 07:21:24 +0200 |
commit | 01631243d712d41681d61c0556341a3329860c47 (patch) | |
tree | fcaa0e40b761b5cdd0dee64c658c6c69fa53ebc6 /drivers/leds/ledtrig-heartbeat.c | |
parent | pch_dma: Fix suspend issue (diff) | |
download | linux-01631243d712d41681d61c0556341a3329860c47.tar.xz 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 'drivers/leds/ledtrig-heartbeat.c')
0 files changed, 0 insertions, 0 deletions