diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-19 20:34:24 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-19 20:34:24 -0500 |
commit | 825d180c0758a3f5a4dd8dd5d48d98952bf7a0ae (patch) | |
tree | 3c0f2987c0520a3b6b82113ecbccc360948c0e0e /include/linux/sysfs.h | |
parent | 94cafcb8e5c196afefebdc090ba0594db4cf746f (diff) |
Delete more shim layer code
Diffstat (limited to 'include/linux/sysfs.h')
-rw-r--r-- | include/linux/sysfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index dde16922..3ba2f48a 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -2,7 +2,6 @@ #define _SYSFS_H_ #include <linux/compiler.h> -#include <linux/stringify.h> struct kobject; @@ -11,12 +10,6 @@ struct attribute { umode_t mode; }; -#define __ATTR(_name, _mode, _show, _store) { \ - .attr = {.name = __stringify(_name), .mode = _mode }, \ - .show = _show, \ - .store = _store, \ -} - struct sysfs_ops { ssize_t (*show)(struct kobject *, struct attribute *, char *); ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); |