mbox series

[0/2] mtd: core: Remove partid and partname debugfs files

Message ID 20211217122636.474976-1-tudor.ambarus@microchip.com
Headers show
Series mtd: core: Remove partid and partname debugfs files | expand

Message

Tudor Ambarus Dec. 17, 2021, 12:26 p.m. UTC
SPI NOR has equivalent sysfs device attributes, thus let's remove the
duplicated debugfs entries. There's no one else using partid and partname
debugfs files, thus remove them from the mtd core as well.

If you find the idea acceptable, I would like to queue these through
spi-nor/next, I'll have some other patches that will depend on these.

Tudor Ambarus (2):
  mtd: spi-nor: Remove debugfs entries that duplicate sysfs entries
  mtd: core: Remove partid and partname debugfs files

 drivers/mtd/mtdcore.c      | 35 +----------------------------------
 drivers/mtd/spi-nor/core.c | 12 ------------
 include/linux/mtd/mtd.h    |  3 ---
 3 files changed, 1 insertion(+), 49 deletions(-)

Comments

Michael Walle Dec. 20, 2021, 1:05 p.m. UTC | #1
Am 2021-12-17 13:26, schrieb Tudor Ambarus:
> SPI NOR has equivalent sysfs device attributes, thus let's remove the
> duplicated debugfs entries. There's no one else using partid and 
> partname
> debugfs files, thus remove them from the mtd core as well.
> 
> If you find the idea acceptable, I would like to queue these through
> spi-nor/next, I'll have some other patches that will depend on these.

I'm fine with it.

-michael
Tudor Ambarus Dec. 29, 2021, 8:27 a.m. UTC | #2
On Fri, 17 Dec 2021 14:26:34 +0200, Tudor Ambarus wrote:
> SPI NOR has equivalent sysfs device attributes, thus let's remove the
> duplicated debugfs entries. There's no one else using partid and partname
> debugfs files, thus remove them from the mtd core as well.
> 
> If you find the idea acceptable, I would like to queue these through
> spi-nor/next, I'll have some other patches that will depend on these.
> 
> [...]

Applied to spi-nor/next, thanks!

[1/2] mtd: spi-nor: Remove debugfs entries that duplicate sysfs entries
      https://git.kernel.org/mtd/c/5f340402bbfc

Best regards,