diff options
author | Ike Panhc <ike.pan@canonical.com> | 2011-09-05 18:33:00 (GMT) |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-10-24 14:52:39 (GMT) |
commit | 349d594be45bdc7a86a08385f2f4f49d08ab68dd (patch) | |
tree | ae75802bc1963ea1cac53a102393bd0809fc00a5 /drivers/platform/x86 | |
parent | 773e3206e6a8b4c81826dc76057a96ba3cc96672 (diff) | |
download | linux-349d594be45bdc7a86a08385f2f4f49d08ab68dd.tar.xz |
ideapad: remove sysfs node for cfg
Replaced by the one in debugfs.
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 1c8b506..a36addf 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -363,20 +363,8 @@ static ssize_t store_ideapad_cam(struct device *dev, static DEVICE_ATTR(camera_power, 0644, show_ideapad_cam, store_ideapad_cam); -static ssize_t show_ideapad_cfg(struct device *dev, - struct device_attribute *attr, - char *buf) -{ - struct ideapad_private *priv = dev_get_drvdata(dev); - - return sprintf(buf, "0x%.8lX\n", priv->cfg); -} - -static DEVICE_ATTR(cfg, 0444, show_ideapad_cfg, NULL); - static struct attribute *ideapad_attributes[] = { &dev_attr_camera_power.attr, - &dev_attr_cfg.attr, NULL }; |