aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2015-01-14 14:39:07 -0200
committerGreg Kroah-Hartman <[email protected]>2015-02-02 10:11:25 -0800
commit6960cd465e553c8c0f9c26663b32bf3f3cd6a298 (patch)
treeba1ca5a950ad62f054f17018f0597f0e9b03a271 /tools/perf/scripts/python
parentc0b18db0562738eee578b7cd2291bd2851f6b5f8 (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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions