Re: [PATCH 5/5] staging: mt7621-gpio: remove device tree related stuff from TODO file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 14 2018, Sergio Paracuellos wrote:

> Documentation related with device tree and its checkpatch complains
> have been added. Update TODO file accordingly.
>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
> ---
>  drivers/staging/mt7621-gpio/TODO | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/mt7621-gpio/TODO b/drivers/staging/mt7621-gpio/TODO
> index 7143905..492dbaa 100644
> --- a/drivers/staging/mt7621-gpio/TODO
> +++ b/drivers/staging/mt7621-gpio/TODO
> @@ -1,5 +1,4 @@
>  
>  - general code review and clean up
> -- ensure device-tree requirements are documented
>  
>  Cc:  NeilBrown <neil@xxxxxxxxxx>
> -- 
> 2.7.4

I said before that I could give a reviewed-by for this, but obviously I
cannot as it depend on the bindings documentation which I didn't
approve.

However, it does look like I need to add things to the list.
Apart from making sure interrupts work, the only thing I see in the code
is various global variables (mediatek_gpio_membase, mediatek_gpio_irq,
mediatek_gpio_irq_domain, gc_map) which should probably be in a
drvdata allocated structure (stored with platform_set_drvdata() -
plenty of examples in drivers/gpio/gpio-*.c)
I think it would then be ready for submission to drivers/gpio
and linux-gpio@xxxxxxxxxxxxxxx.

Thanks,
NeilBrown

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux