aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/loopback.c
diff options
context:
space:
mode:
authorAxel Haslam <ahaslam@baylibre.com>2015-12-08 18:26:31 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-10 11:21:02 -0500
commit3647a313de367e98840c4dfab491dfbeaf2cf9a4 (patch)
treec57081bbbd0a51428e803cf0f500fc1ad26fbd6d /drivers/staging/greybus/loopback.c
parentgreybus: spi: move chipselect to one byte size (diff)
downloadlinux-dev-3647a313de367e98840c4dfab491dfbeaf2cf9a4.tar.xz
linux-dev-3647a313de367e98840c4dfab491dfbeaf2cf9a4.zip
greybus: loopback: remove mask attribute
The mask attribute is not used on the driver anymore and can be removed. Signed-off-by: Axel Haslam <ahaslam@baylibre.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/loopback.c')
-rw-r--r--drivers/staging/greybus/loopback.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c
index 626a841b1fe2..6a5eee35e9c0 100644
--- a/drivers/staging/greybus/loopback.c
+++ b/drivers/staging/greybus/loopback.c
@@ -82,7 +82,6 @@ struct gb_loopback {
int type;
int async;
- u32 mask;
u32 size;
u32 iteration_max;
u32 iteration_count;
@@ -311,8 +310,6 @@ gb_dev_loopback_rw_attr(us_wait, d);
gb_dev_loopback_rw_attr(iteration_max, u);
/* The current index of the for (i = 0; i < iteration_max; i++) loop */
gb_dev_loopback_ro_attr(iteration_count, false);
-/* A bit-mask of destination connections to include in the test run */
-gb_dev_loopback_rw_attr(mask, u);
/* A flag to indicate synchronous or asynchronous operations */
gb_dev_loopback_rw_attr(async, u);
/* Timeout of an individual asynchronous request */
@@ -339,7 +336,6 @@ static struct attribute *loopback_attrs[] = {
&dev_attr_us_wait.attr,
&dev_attr_iteration_count.attr,
&dev_attr_iteration_max.attr,
- &dev_attr_mask.attr,
&dev_attr_async.attr,
&dev_attr_error.attr,
&dev_attr_requests_completed.attr,