linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] serial: bfin_uart: remove deprecated IRQF_DISABLED
@ 2013-10-06  6:27 Michael Opdenacker
  2013-10-08  3:03 ` Sonic Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Opdenacker @ 2013-10-06  6:27 UTC (permalink / raw)
  To: sonic.zhang, gregkh
  Cc: jslaby, uclinux-dist-devel, linux-serial, linux-kernel,
	Michael Opdenacker

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
---
 drivers/tty/serial/bfin_uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c
index 3c75e8e..5e85f35 100644
--- a/drivers/tty/serial/bfin_uart.c
+++ b/drivers/tty/serial/bfin_uart.c
@@ -726,7 +726,7 @@ static int bfin_serial_startup(struct uart_port *port)
 #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS
 	if (uart->cts_pin >= 0) {
 		if (request_irq(uart->status_irq, bfin_serial_mctrl_cts_int,
-			IRQF_DISABLED, "BFIN_UART_MODEM_STATUS", uart)) {
+			0, "BFIN_UART_MODEM_STATUS", uart)) {
 			uart->cts_pin = -1;
 			dev_info(port->dev, "Unable to attach BlackFin UART Modem Status interrupt.\n");
 		}
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] serial: bfin_uart: remove deprecated IRQF_DISABLED
  2013-10-06  6:27 [PATCH] serial: bfin_uart: remove deprecated IRQF_DISABLED Michael Opdenacker
@ 2013-10-08  3:03 ` Sonic Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Sonic Zhang @ 2013-10-08  3:03 UTC (permalink / raw)
  To: Michael Opdenacker
  Cc: Zhang, Sonic, Greg KH, Jiri Slaby, uclinux-dist-devel,
	Linux Serial, Linux Kernel

Acked-by: Sonic Zhang <sonc.zhang@analog.com>

On Sun, Oct 6, 2013 at 2:27 PM, Michael Opdenacker
<michael.opdenacker@free-electrons.com> wrote:
> This patch proposes to remove the use of the IRQF_DISABLED flag
>
> It's a NOOP since 2.6.35 and it will be removed one day.
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
> ---
>  drivers/tty/serial/bfin_uart.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c
> index 3c75e8e..5e85f35 100644
> --- a/drivers/tty/serial/bfin_uart.c
> +++ b/drivers/tty/serial/bfin_uart.c
> @@ -726,7 +726,7 @@ static int bfin_serial_startup(struct uart_port *port)
>  #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS
>         if (uart->cts_pin >= 0) {
>                 if (request_irq(uart->status_irq, bfin_serial_mctrl_cts_int,
> -                       IRQF_DISABLED, "BFIN_UART_MODEM_STATUS", uart)) {
> +                       0, "BFIN_UART_MODEM_STATUS", uart)) {
>                         uart->cts_pin = -1;
>                         dev_info(port->dev, "Unable to attach BlackFin UART Modem Status interrupt.\n");
>                 }
> --
> 1.8.1.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-08  3:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06  6:27 [PATCH] serial: bfin_uart: remove deprecated IRQF_DISABLED Michael Opdenacker
2013-10-08  3:03 ` Sonic Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).