summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorSam Shih <sam.shih@mediatek.com>2019-09-20 06:49:04 +0800
committerThierry Reding <thierry.reding@gmail.com>2019-09-25 09:49:15 +0200
commitefecdeb82f21d4100566ce85bda2d7ffb9c9edff (patch)
tree12975cc3bfc25c14f5297f2fca9878d9c0a3f523 /drivers/mailbox
parent61aa258ab1a50b834267f5df6cabef0d10f8955a (diff)
downloadlinux-stable-efecdeb82f21d4100566ce85bda2d7ffb9c9edff.tar.gz
linux-stable-efecdeb82f21d4100566ce85bda2d7ffb9c9edff.tar.bz2
linux-stable-efecdeb82f21d4100566ce85bda2d7ffb9c9edff.zip
pwm: mediatek: Allocate the clks array dynamically
Instead of using fixed size of arrays, allocate the memory for them based on the number of PWMs specified for each SoC generation. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Sam Shih <sam.shih@mediatek.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions