aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-12-20 15:13:20 +0100
committerBoris Brezillon <[email protected]>2019-01-16 20:32:17 +0100
commit2431c4f5b46c32c4ac495456b1ef4ce59c0bb85d (patch)
treeb886405413cd01f3ea774d02fde9a2be3820fb8c /tools/perf/util/scripting-engines/trace-event-python.c
parent2037f9d8c242af5d549dd5ba32ff1ec1f49ceaad (diff)
mtd: Implement mtd_{read,write}() as wrappers around mtd_{read,write}_oob()
mtd_{read,write}_oob() already take care of checking the params and calling ->_{read,write}() or ->_{read,write}_oob() based on the request and the operations supported by the MTD device. No need to duplicate the logic, we can simply implement mtd_{read,write}() as wrappers around mtd_{read,write}_oob(). Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions