Skip to content
Commit edf7f80e authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <thierry.reding@gmail.com>
parent 3df23a31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment