diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-01-22 19:14:08 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2017-01-30 11:36:42 +0300 |
commit | b526a314263ea217b8fa9758dca5dc245fd49997 (patch) | |
tree | 33bc36f29bee3acf277fded5b5d30513d16bfd53 /include/asm-generic | |
parent | 69efb3439ccf2ce72e01edde05d2c63d624e251e (diff) | |
download | linux-b526a314263ea217b8fa9758dca5dc245fd49997.tar.xz |
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 <hdegoede@redhat.com>
[thierry.reding@gmail.com: rename new macro, reword commit message]
[thierry.reding@gmail.com: add comment explaining use-case]
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions