Re: [PATCH 2/2] i2c: mv64xxx: propagate the return value of platform_get_irq()

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

 



On Tue, May 16, 2017 at 02:07:25PM +0200, Thomas Petazzoni wrote:
> platform_get_irq() returns an error code, so instead of inventing our
> own error code (-ENXIO), return the one provided by
> platform_get_irq(). Most notably, this allows an -EPROBE_DEFER
> returned by platform_get_irq() to be propagate as the return value of
> ->probe(), which allows deferred probing of the interrupt controller.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>

Thanks! I squashed the two commits into one because then I can count it
as a bugfix and apply it to for-current. I hope you are fine with this.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux