aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-atmel.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-01-22 17:14:08 +0100
committerThierry Reding <[email protected]>2017-01-30 09:36:42 +0100
commitb526a314263ea217b8fa9758dca5dc245fd49997 (patch)
tree33bc36f29bee3acf277fded5b5d30513d16bfd53 /drivers/pwm/pwm-atmel.c
parent69efb3439ccf2ce72e01edde05d2c63d624e251e (diff)
pwm: Try to load modules during pwm_get()
Add a module name string to the pwm_lookup struct and if specified try to load the module using request_module() if pwmchip_find_by_name() is unable to find the PWM chip. This is a last resort to work around drivers that can't - and can't be made to - deal with deferred probe. Signed-off-by: Hans de Goede <[email protected]> [[email protected]: rename new macro, reword commit message] [[email protected]: add comment explaining use-case] Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-atmel.c')
0 files changed, 0 insertions, 0 deletions