> I can see your point, but Lars-Peter's way is the more commonly used > approach > so lets go with the ancient arguement of making it look like what those > reading the code expect to see ;) Two chained patches were sent. [PATCH 1/2] iio: inkern: put the IIO device when it fails to allocate memory [PATCH 2/2] iio: inkern: clean up error return code The first patch is same as previous one. The second one is for fixing error return code which Lars had suggested. I'd like to divide two things for better review. Many thanks ! Best Regards, Milo -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html