Make sure to drop the reference taken to the pbs platform device when looking up its driver data.
…
How do you think about to increase the application of scope-based resource management?
Is there a need to improve the API description for platform_device_put()? https://elixir.bootlin.com/linux/v6.17-rc7/source/drivers/base/platform.c#L5...
Regards, Markus