[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210528095531.GO543307@dell>
Date: Fri, 28 May 2021 10:55:31 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: linux-kernel@...r.kernel.org, Pavel Machek <pavel@....cz>,
linux-leds@...r.kernel.org
Subject: Re: [PATCH 02/15] leds: leds-gpio-register: Supply description for
param 'id'
On Fri, 28 May 2021, Uwe Kleine-König wrote:
> Hello Lee,
>
> On Fri, May 28, 2021 at 10:06:16AM +0100, Lee Jones wrote:
> > diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c
> > index b9187e71e0cf2..de3f12c2b80d7 100644
> > --- a/drivers/leds/leds-gpio-register.c
> > +++ b/drivers/leds/leds-gpio-register.c
> > @@ -11,6 +11,7 @@
> > /**
> > * gpio_led_register_device - register a gpio-led device
> > * @pdata: the platform data used for the new device
> > + * @id: platform ID
> > *
>
> Given that id is the first parameter and pdata the second I suggest to
> swap the order here and describe id first.
That's super picky.
I can do it as a follow-up patch if you *really* care about it.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists