summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-06-21 09:26:43 +0300
committerBrian Norris <computersforpeace@gmail.com>2017-06-22 23:13:06 +0300
commitc5ceaba74083daf619bdb34d4871e297a177eebf (patch)
tree537052bde69228f361defad4e350c645a32b2e12 /Kbuild
parent08263a9ae664b24fa777d20b365601534842b236 (diff)
downloadlinux-c5ceaba74083daf619bdb34d4871e297a177eebf.tar.xz
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 <dehrenberg@chromium.org> Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions