Re: [PATCH] iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()

From: Markus Elfring
Date: Wed May 27 2020 - 15:55:45 EST

> 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â?