commit | 6960cd465e553c8c0f9c26663b32bf3f3cd6a298 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Jan 14 14:39:07 2015 -0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Feb 02 10:11:25 2015 -0800 |
tree | ba1ca5a950ad62f054f17018f0597f0e9b03a271 | |
parent | c0b18db0562738eee578b7cd2291bd2851f6b5f8 [diff] |
serial: mxs-auart: Remove irq from private structure The irq number is only used inside the probe function, so there is no need to keep it in the private mxs_auart_port structure. Use a local 'irq' variable for storing the irq number instead. Also make its type of 'int' as platform_get_irq() may fail and return a negative number. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>