From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: iio/light/gp2ap020a00f: Use common error handling code in gp2ap020a00f_adjust_lux_mode() To: Jonathan Cameron , linux-iio@vger.kernel.org Cc: Hartmut Knaack , Jacek Anaszewski , Lars-Peter Clausen , Peter Meerwald-Stadler , LKML , kernel-janitors@vger.kernel.org References: <06da0424-1ec9-209e-a433-48288c49132b@users.sourceforge.net> <20171026173113.371995f3@archlinux> From: SF Markus Elfring Message-ID: Date: Fri, 27 Oct 2017 15:12:23 +0200 MIME-Version: 1.0 In-Reply-To: <20171026173113.371995f3@archlinux> Content-Type: text/plain; charset=utf-8 List-ID: > Same issue - readability is worse An alternative opinion triggered the development also of this update suggestion. > than without the patch so it is always going to be rejected. Corresponding clarification might be needed if the change (in a direction I propose here) will become desirable. Can it make sense to concentrate a bit of error reporting at the end of such a function? Regards, Markus