> mma8452_probe() calls iio_device_register() but misses to call
> iio_device_unregister() when probe fails.
> Add the missed call in error handler to fix it.

How do you think about a wording variant like the following?

   Change description:
   The function “iio_device_register” was called here.
   But the function “iio_device_unregister” was not called after
   a call of the function “mma8452_set_freefall_mode” failed.
   Thus add the missed function call for one error case.


Would you like to add the tag “Fixes”?

Regards,
Markus

Reply via email to