irda: sh_irda: use devm_request_irq()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 8 Jan 2014 04:54:55 +0000 (20:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jan 2014 03:57:13 +0000 (22:57 -0500)
commit033b06ebe9b067bc9b988d8fc967140a870a2616
treecbe8913b8119ea98601e27ad5699ac12f8895848
parent90e8c72eea39fa3a38f23adbc4dca38ea714dc1e
irda: sh_irda: use devm_request_irq()

Huqiu reported current sh_irda driver doesn't
call free_irq() in spite of using request_irq().
This patch replaces request_irq() into devm_request_irq()
to solve this issue

Reported-by: Huqiu Liu<huqiuliu@gmail.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/sh_irda.c