[PATCH 4/4] ARM: orion5x: remove extraneous NO_IRQ

Gregory CLEMENT gregory.clement at free-electrons.com
Wed Sep 14 07:38:25 PDT 2016


Hi Arnd,
 
 On mar., sept. 06 2016, Arnd Bergmann <arnd at arndb.de> wrote:

> rd88f6183ap-ge passes NO_IRQ as the interrupt line for its m25p80
> NOR flash. However, this device never uses an interrupt and the
> driver doesn't care, so we can simply remove the deprecated constant
> here.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Applied on mvebu/soc with Reviewed-by tag from Andrew Lunn

Thanks,

Gregory

> ---
>  arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c b/arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
> index 4bf80dd5478c..8ffaead76771 100644
> --- a/arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
> +++ b/arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
> @@ -71,7 +71,6 @@ static struct spi_board_info __initdata rd88f6183ap_ge_spi_slave_info[] = {
>  	{
>  		.modalias	= "m25p80",
>  		.platform_data	= &rd88f6183ap_ge_spi_slave_data,
> -		.irq		= NO_IRQ,
>  		.max_speed_hz	= 20000000,
>  		.bus_num	= 0,
>  		.chip_select	= 0,
> -- 
> 2.9.0
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the linux-arm-kernel mailing list