mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
pwm: sl28cpld: Set driver data before registering the PWM chip
It is good practice to set the driver data before registering a device with a subsystem because the subsystem or the driver core may call back into the driver implementation. This is not currently an issue, but to prevent future changes from causing this to break unexpectedly, make sure that the driver data is set before the PWM chip registration. Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
3df23a316c
commit
edf7f80e78
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue