From: Fabio Estevam Date: Wed, 14 Jan 2015 16:39:07 +0000 (-0200) Subject: serial: mxs-auart: Remove irq from private structure X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~82^2~46 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6960cd465e553c8c0f9c26663b32bf3f3cd6a298;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed