Re: [PATCH 7/7] staging:iio:ade7854: Add proper error handling condition

From: Dan Carpenter
Date: Fri Mar 16 2018 - 10:18:23 EST


Generally, it's better to fix the bug in the existing code, and then
do the cleanup later. That way the fixes can be backported to stable
kernels more easily.

I don't know this subsystem very well. Perhaps Jonathan doesn't care
for one reason or another (like maybe he's not going to back port the
fix). So it might not matter how you do it.

regards,
dan carpenter