diff options
author | Rafał Miłecki <[email protected]> | 2017-06-21 08:26:43 +0200 |
---|---|---|
committer | Brian Norris <[email protected]> | 2017-06-22 13:13:06 -0700 |
commit | c5ceaba74083daf619bdb34d4871e297a177eebf (patch) | |
tree | 537052bde69228f361defad4e350c645a32b2e12 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 08263a9ae664b24fa777d20b365601534842b236 (diff) |
mtd: partitions: remove sysfs files when deleting all master's partitions
When support for sysfs "offset" file was added it missed to update the
del_mtd_partitions function. It deletes partitions just like
mtd_del_partition does so both should also take care of removing sysfs
files.
This change moves sysfs_remove_files call to the shared function to fix
this issue.
Fixes: a62c24d755291 ("mtd: part: Add sysfs variable for offset of partition")
Cc: Dan Ehrenberg <[email protected]>
Signed-off-by: Rafał Miłecki <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions