Re: [PATCH 1/2] iio/accel/stk8ba50: Use common error handling code in stk8ba50_probe()

2017-10-26 Thread Jonathan Cameron
On Wed, 25 Oct 2017 22:16:31 +0200 SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 25 Oct 2017 21:36:03 +0200 > > * Add a jump target so that a specific error message is stored only once > at the end of this function implementation. > > * Replace two calls of the function "dev_e

[PATCH 1/2] iio/accel/stk8ba50: Use common error handling code in stk8ba50_probe()

2017-10-25 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 25 Oct 2017 21:36:03 +0200 * Add a jump target so that a specific error message is stored only once at the end of this function implementation. * Replace two calls of the function "dev_err" by goto statements. * Adjust condition checks. This issue was detected