summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgrp/dgrp_sysfs.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-10-25 12:46:22 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 11:22:42 -0700
commit57cf50acbf5b153f331a966ecc08836324c1cd8d (patch)
tree988a7f39cf29bfd2e7e0c76421988f8a1bbe3352 /drivers/staging/dgrp/dgrp_sysfs.c
parente3224111b3a527eb8f9b9b6deed83b727522941e (diff)
downloadlinux-57cf50acbf5b153f331a966ecc08836324c1cd8d.tar.bz2
staging: dgrp: remove rawreadok module option
The functionality behind this option has been removed in the driver so remove the config option to set/unset it. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgrp/dgrp_sysfs.c')
-rw-r--r--drivers/staging/dgrp/dgrp_sysfs.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/staging/dgrp/dgrp_sysfs.c b/drivers/staging/dgrp/dgrp_sysfs.c
index e5a3c88d016e..8b513e9111c1 100644
--- a/drivers/staging/dgrp/dgrp_sysfs.c
+++ b/drivers/staging/dgrp/dgrp_sysfs.c
@@ -55,23 +55,6 @@ static DEVICE_ATTR(register_with_sysfs, 0400,
dgrp_class_register_with_sysfs_show, NULL);
-static ssize_t dgrp_class_rawreadok_show(struct device *c,
- struct device_attribute *attr,
- char *buf)
-{
- return snprintf(buf, PAGE_SIZE, "%d\n", dgrp_rawreadok);
-}
-static ssize_t dgrp_class_rawreadok_store(struct device *c,
- struct device_attribute *attr,
- const char *buf, size_t count)
-{
- sscanf(buf, "0x%x\n", &dgrp_rawreadok);
- return count;
-}
-static DEVICE_ATTR(rawreadok, 0600, dgrp_class_rawreadok_show,
- dgrp_class_rawreadok_store);
-
-
static ssize_t dgrp_class_pollrate_show(struct device *c,
struct device_attribute *attr,
char *buf)
@@ -91,7 +74,6 @@ static DEVICE_ATTR(pollrate, 0600, dgrp_class_pollrate_show,
static struct attribute *dgrp_sysfs_global_settings_entries[] = {
&dev_attr_pollrate.attr,
- &dev_attr_rawreadok.attr,
&dev_attr_register_with_sysfs.attr,
NULL
};