> There is a spurious 'put_device()' in the remove function.
Do you find differences in the clean-up of system resources suspicious
between the implementations of the functions “puv3_i2c_remove” and
“puv3_i2c_probe”?
Regards,
Markus
There is a spurious 'put_device()' in the remove function.
A reference to 'pdev->dev' is taken in the probe function without a
corresponding 'get_device()' to increment the refcounted reference.
Add the missing 'get_device()' and update the error handling path
accordingly.
Fixes: d10e4a660d11 ("u
2 matches
Mail list logo