Commit 11bab0e3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: gasket: remove GASKET_SYSFS_REG()

In an attempt to start to clean up the monstrosity of the sysfs abuse in
the gasket driver, let's remove code that is not used at all.  The
GASKET_SYSFS_REG() macro is never used, so delete it.

Cc: Rob Springer <rspringer@google.com>
Cc: John Joseph <jnjoseph@google.com>
Cc: Ben Chan <benchan@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af3abc44
...@@ -78,15 +78,6 @@ struct gasket_sysfs_attribute { ...@@ -78,15 +78,6 @@ struct gasket_sysfs_attribute {
.attr = __ATTR(_name, S_IRUGO, _show_function, NULL), \ .attr = __ATTR(_name, S_IRUGO, _show_function, NULL), \
.data.attr_type = _attr_type \ .data.attr_type = _attr_type \
} }
#define GASKET_SYSFS_REG(_name, _offset, _bar) \
{ \
.attr = __ATTR(_name, S_IRUGO, gasket_sysfs_register_show, \
NULL), \
.data.bar_address = { \
.bar = _bar, \
.offset = _offset \
} \
}
/* Initializes the Gasket sysfs subsystem. /* Initializes the Gasket sysfs subsystem.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment