diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-01-15 07:25:34 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-15 14:46:56 +0100 |
commit | 4b70331b6fa13e4ae6ba634c336a616a7e2bf9d0 (patch) | |
tree | b35aa4ffda3bdf34786a8b5860702d922995e36b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 7e2ee1ab023cda87aa5f738076d83671484204d3 (diff) |
usb: musb: jz4740: Add local dev variable to clean up probe
Clean up the probe function by using a local 'struct device *dev'
variable, instead of referencing &pdev->dev everytime.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-13-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions