aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2017-09-27 14:24:58 -0400
committerMauro Carvalho Chehab <[email protected]>2017-10-31 06:18:33 -0400
commit2cb63c4cf56fbe1a6dcc52595885eb2692a7df01 (patch)
tree3231ed2dfa2b4fbb75167bd689b908e6adfb6ac7 /tools/perf/scripts/python/event_analyzing_sample.py
parentd4870725b99a622e6d05ef62b6a648a3e28adfc3 (diff)
media: staging: atomisp: Use module_i2c_driver() macro
This is done using coccinelle semantic patch: //<smpl> @a@ identifier f, x; @@ -static f(...) { return i2c_add_driver(&x); } @b depends on a@ identifier e, a.x; @@ -static e(...) { i2c_del_driver(&x); } @c depends on a && b@ identifier a.f; declarer name module_init; @@ -module_init(f); @d depends on a && b && c@ identifier b.e, a.x; declarer name module_exit; declarer name module_i2c_driver; @@ -module_exit(e); +module_i2c_driver(x); //</smpl> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions