Re: [PATCH] staging: iio: adc: lpc32xx: use correct reutrn value

2015-08-31 Thread Jonathan Cameron
On 30/08/15 09:12, Peng Fan wrote: > To lpc32xx_adc driver, when platform_get_resource or > platform_get_irq failed, we should use -ENXIO as a > return value, but not -EBUSY. > > Signed-off-by: Peng Fan > Cc: Jonathan Cameron > Cc: Hartmut Knaack > Cc: Lars-Peter Clausen > Cc: Peter Meerwald

Re: [PATCH] staging: iio: adc: lpc32xx: use correct reutrn value

2015-08-31 Thread Jonathan Cameron
On 30/08/15 09:12, Peng Fan wrote: > To lpc32xx_adc driver, when platform_get_resource or > platform_get_irq failed, we should use -ENXIO as a > return value, but not -EBUSY. > > Signed-off-by: Peng Fan > Cc: Jonathan Cameron > Cc: Hartmut Knaack

[PATCH] staging: iio: adc: lpc32xx: use correct reutrn value

2015-08-30 Thread Peng Fan
To lpc32xx_adc driver, when platform_get_resource or platform_get_irq failed, we should use -ENXIO as a return value, but not -EBUSY. Signed-off-by: Peng Fan Cc: Jonathan Cameron Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald Cc: Greg Kroah-Hartman Cc: Tapasweni Pathak ---

[PATCH] staging: iio: adc: lpc32xx: use correct reutrn value

2015-08-30 Thread Peng Fan
To lpc32xx_adc driver, when platform_get_resource or platform_get_irq failed, we should use -ENXIO as a return value, but not -EBUSY. Signed-off-by: Peng Fan van.free...@gmail.com Cc: Jonathan Cameron ji...@kernel.org Cc: Hartmut Knaack knaac...@gmx.de Cc: Lars-Peter Clausen l...@metafoo.de Cc: