[PATCH 6/7] iio: light: tsl2583: add locking to sysfs *_store() functions

Jonathan Cameron jic23 at kernel.org
Sat Oct 22 17:29:55 UTC 2016


On 19/10/16 12:37, Dan Carpenter wrote:
> I appologize for laughing, but I am still secretly amused in my heart.
> 
> regards,
> dan carpenter
> 
Fewer beers or less caffeine for Dan!

Key take away here is keep things simple.  The gotos in my mind
would actually have made sense, but I wouldn't do the refactoring until
you need it. i.e. when you introduce the locking in this patch.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 



More information about the devel mailing list