Re: [PATCH leds v2 15/50] leds: lm3697: cosmetic change: use helper variable, reverse christmas tree

2020-09-18 Thread Marek Behun
On Fri, 18 Sep 2020 06:47:20 -0500 Dan Murphy wrote: > > Reviewed-by: Dan Murphy > > Dan, could you also review patch 14/50? That one is also lm3697 and this one depends on it. Marek

Re: [PATCH leds v2 15/50] leds: lm3697: cosmetic change: use helper variable, reverse christmas tree

2020-09-18 Thread Dan Murphy
Marek On 9/17/20 5:33 PM, Marek Behún wrote: Use helper variable dev instead of always writing &client->dev, or &priv->client->dev, or even &led->priv->client->dev. With one more line moved reverse christmas tree is also achieved. Reviewed-by: Dan Murphy

[PATCH leds v2 15/50] leds: lm3697: cosmetic change: use helper variable, reverse christmas tree

2020-09-17 Thread Marek Behún
Use helper variable dev instead of always writing &client->dev, or &priv->client->dev, or even &led->priv->client->dev. With one more line moved reverse christmas tree is also achieved. Signed-off-by: Marek Behún Cc: Dan Murphy --- drivers/leds/leds-lm3697.c | 75 ++