Remove transitional macros used to alias named and visible sysfs attribute group definitions. These were temporarily introduced to ease migration but are now redundant due to the adoption of the new encapsulated NAMED_ATTRIBUTE_* macros across all relevant drivers. Signed-off-by: David E. Box <david.e.box@xxxxxxxxxxxxxxx> --- include/linux/sysfs.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 0804bffd6013..877fd1976668 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -220,12 +220,6 @@ struct attribute_group { return a->mode; \ } -/* Transitional aliases: so legacy code using old names continues to work */ -#define DEFINE_SYSFS_GROUP_VISIBLE(name) DEFINE_SYSFS_GROUP_COMBO_VISIBILITY(name) -#define DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE(name) DEFINE_SYSFS_GROUP_VISIBILITY(name) -#define DEFINE_SYSFS_BIN_GROUP_VISIBLE(name) DEFINE_SYSFS_BIN_GROUP_COMBO_VISIBILITY(name) -#define DEFINE_SIMPLE_SYSFS_BIN_GROUP_VISIBLE(name) DEFINE_SYSFS_BIN_GROUP_VISIBILITY(name) - #define SYSFS_GROUP_VISIBLE(fn) sysfs_group_visible_##fn /* -- 2.43.0