History

Merge tag 'pwm/for-5.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm

Pull pwm fix from Thierry Reding: "One more fix to keep a reference to the driver's module as long as there are users of the PWM exposed by the driver" * tag 'pwm/for-5.4-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: pwm: bcm-iproc: Prevent unloading the driver module while in use

Linus Torvalds committed 7 years ago

Commit abf6c392 parents 0689acf 24906a41 file · +1 −0Browse files

Unified · Split

drivers/pwm/pwm-bcm-iproc.c+1−0
@@ -187,6 +187,7 @@ static int iproc_pwmc_apply(struct pwm_chip *chip, struct pwm_device *pwm, · 186 unmodified lines
187187 static const struct pwm_ops iproc_pwm_ops = {
188188 .apply = iproc_pwmc_apply,
189189 .get_state = iproc_pwmc_get_state,
190+ .owner = THIS_MODULE,
190191 };
191192
192193 static int iproc_pwmc_probe(struct platform_device *pdev)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t