Skip to content
Commit a357d149 authored by Ben Dooks's avatar Ben Dooks Committed by Thierry Reding
Browse files

pwm: dwc: Move memory allocation to own function



In preparation for adding other bus support, move the allocation
of the PWM structure out of the main driver code.

Signed-off-by: default avatarBen Dooks <ben.dooks@sifive.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent f7c843d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment