https://github.com/torvalds/linux
Revision 24906a41eecb73d51974ade0847c21e429beec60 authored by Uwe Kleine-König on 17 October 2019, 19:22:18 UTC, committed by Thierry Reding on 08 November 2019, 17:38:06 UTC
The owner member of struct pwm_ops must be set to THIS_MODULE to
increase the reference count of the module such that the module cannot
be removed while its code is in use.

Fixes: daa5abc41c80 ("pwm: Add support for Broadcom iProc PWM controller")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent 40a6b9a
History
Tip revision: 24906a41eecb73d51974ade0847c21e429beec60 authored by Uwe Kleine-König on 17 October 2019, 19:22:18 UTC
pwm: bcm-iproc: Prevent unloading the driver module while in use
Tip revision: 24906a4
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.0 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.7 KB
.mailmap -rw-r--r-- 13.1 KB
COPYING -rw-r--r-- 423 bytes
CREDITS -rw-r--r-- 97.1 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 595 bytes
MAINTAINERS -rw-r--r-- 516.7 KB
Makefile -rw-r--r-- 60.1 KB
README -rw-r--r-- 727 bytes

README

back to top