Re: [PATCH 5/7] iio: light: tsl2583: check return values from taos_chip_{on, off}
From: Dan Carpenter
Date: Wed Oct 19 2016 - 10:12:48 EST
On Wed, Oct 19, 2016 at 03:54:23PM +0300, Dan Carpenter wrote:
> On Wed, Oct 19, 2016 at 08:48:32AM -0400, Brian Masney wrote:
> > Ok, I'll rework my patch series to stick with the direct returns. I
> > personally prefer that approach. I was using the gotos since I thought
> > that was standard convention in the kernel.
> >
>
> It *should* but "goto unlock;"
s/but/be/
regards,
dan carpenter