diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-08-20 23:39:11 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 15:03:40 +0200 |
commit | 2fe20baec46caeaf1076a7f3d7cfd3e75c40205c (patch) | |
tree | 83fa7aa38c5e9efb283f1025decc7fac38cddf02 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1f797edc62da59ad9b319a6b3f7c73a58047c896 (diff) |
mmc: block: Reparametrize mmc_blk_ioctl_[multi]_cmd()
Instead of passing a block device to
mmc_blk_ioctl[_multi]_cmd(), let's pass struct mmc_blk_data()
so we operate ioctl()s on the MMC block device representation
rather than the vanilla block device.
This saves a little duplicated code and makes it possible to
issue ioctl()s not targeted for a specific block device but
rather for a specific partition/area.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions