Re: [PATCH] leds: is31fl319x: simplify getting the adapter of a client

2019-07-23 Thread Jacek Anaszewski
Hi Wolfram, Thank you for the patch. On 7/22/19 8:14 PM, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang > --- > drivers/leds/leds-is31fl319x.c | 3 +-- > 1 file changed, 1 insertion(+),

[PATCH] leds: is31fl319x: simplify getting the adapter of a client

2019-07-22 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- drivers/leds/leds-is31fl319x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/leds/leds-is31fl319x.c b/drivers/leds/leds-is31fl319x.c