mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sysfs.h: remove attr_name() macro
Gotta love a macro that doesn't reduce the typing you have to do. Also, only the driver core, and one network driver uses this. The driver core functions will be going away soon, and I'll convert the network driver soon to not need this as well, so delete it for now before anyone else gets some bright ideas and wants to use it. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
09239ed4aa
commit
3e1026b3fa
5 changed files with 13 additions and 15 deletions
|
@ -108,8 +108,6 @@ static const struct attribute_group _name##_group = { \
|
|||
}; \
|
||||
__ATTRIBUTE_GROUPS(_name)
|
||||
|
||||
#define attr_name(_attr) (_attr).attr.name
|
||||
|
||||
struct file;
|
||||
struct vm_area_struct;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue