lkml.org 
[lkml]   [2021]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] mtd: core: add and use MTD_DEVICE_ATTR_RO/RW() helper macros to simplify code
Date
List of changed function names:
mtd_ecc_stats_corrected_show --> mtd_corrected_bits_show //MTD_DEVICE_ATTR_RO(corrected_bits) /* ecc stats corrected */
mtd_ecc_stats_errors_show --> mtd_ecc_failures_show //MTD_DEVICE_ATTR_RO(ecc_failures) /* ecc stats errors */
mtd_badblocks_show --> mtd_bad_blocks_show //MTD_DEVICE_ATTR_RO(bad_blocks)
mtd_bbtblocks_show --> mtd_bbt_blocks_show //MTD_DEVICE_ATTR_RO(bbt_blocks)


Zhen Lei (2):
mtd: core: add MTD_DEVICE_ATTR_RO/RW() helper macros
mtd: core: use MTD_DEVICE_ATTR_RO/RW() helper macros

drivers/mtd/mtdcore.c | 52 ++++++++++++++++++++++---------------------
1 file changed, 27 insertions(+), 25 deletions(-)

--
2.26.0.106.g9fadedd


\
 
 \ /
  Last update: 2021-06-03 14:54    [W:0.054 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site