diff options
author | Ike Panhc <ike.pan@canonical.com> | 2012-05-03 09:38:35 (GMT) |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-05-31 18:23:40 (GMT) |
commit | a5c3892f56df57e2e1c0a069d72d1b20a1db202d (patch) | |
tree | 3d16fb44c11fa96e193b9a8f27b4eda45bd65dd0 /drivers | |
parent | e4332e8e69e31cf6e6b1e17a1be25f5b8dde977e (diff) | |
download | linux-a5c3892f56df57e2e1c0a069d72d1b20a1db202d.tar.xz |
ideapad: remove unused define and fix a typo
After review the current ideapad-laptop, found an unused define and
a typo.
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index ac902f7..00d82f1 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -194,7 +194,6 @@ static int write_ec_cmd(acpi_handle handle, int cmd, unsigned long data) /* * debugfs */ -#define DEBUGFS_EVENT_LEN (4096) static int debugfs_status_show(struct seq_file *s, void *data) { unsigned long value; @@ -315,7 +314,7 @@ static int __devinit ideapad_debugfs_init(struct ideapad_private *priv) node = debugfs_create_file("status", S_IRUGO, priv->debug, NULL, &debugfs_status_fops); if (!node) { - pr_err("failed to create event in debugfs"); + pr_err("failed to create status in debugfs"); goto errout; } |