aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexey Brodkin <[email protected]>2015-03-03 18:11:14 +0300
committerGreg Kroah-Hartman <[email protected]>2015-03-07 03:58:57 +0100
commit833b1f7b5191e4ac15dfd86aa8137f2349f0fc30 (patch)
treec594ababc69d62bf2930102dd518c4dbce2459e2 /tools/perf/scripts/python
parentf427c990e2d0fd30336b0c252aa7e38e4cffdea2 (diff)
serial/8250_dw: use platform_get_irq() instead of platform_get_resource()
It is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ) for requesting IRQ's resources any more, as they can be not ready yet in case of DT-booting. platform_get_irq() instead is a recommended way for getting IRQ even if it was not retrieved earlier. It also makes code simpler because we're getting "int" value right away and no conversion from resource to int is required. Signed-off-by: Alexey Brodkin <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: Alan Cox <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Andy Shevchenko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions