Re: [PATCH] iio: sca3000: Remove an erroneous get_device() call in sca3000_read_data()

From: Markus Elfring
Date: Wed May 06 2020 - 11:30:46 EST


> This looks really unusual to have a 'get_device()' hidden in a 'dev_err()' call.

Is there a need to prevent similar function calls by the means of
advanced source code analysis?

Regards,
Markus