diff options
author | Frank Seidel <frank@f-seidel.de> | 2009-02-04 11:03:07 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-02-07 00:29:32 -0500 |
commit | 4d9391557b68475b118ec7626607c37b14ae8c16 (patch) | |
tree | 92176ea365b9c3027c0779f741da6d83154cd9c9 /drivers/acpi/dock.c | |
parent | ae1a25da8448271a99745da03100d5299575a269 (diff) |
ACPI: add missing KERN_* constants to printks
According to kerneljanitors todo list all printk calls (beginning
a new line) should have an according KERN_* constant.
Those are the missing peaces here for the acpi subsystem.
Signed-off-by: Frank Seidel <frank@f-seidel.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 5b30b8d91d71..408359133ce3 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c | |||
@@ -984,7 +984,7 @@ static int dock_add(acpi_handle handle) | |||
984 | 984 | ||
985 | ret = device_create_file(&dock_device->dev, &dev_attr_docked); | 985 | ret = device_create_file(&dock_device->dev, &dev_attr_docked); |
986 | if (ret) { | 986 | if (ret) { |
987 | printk("Error %d adding sysfs file\n", ret); | 987 | printk(KERN_ERR "Error %d adding sysfs file\n", ret); |
988 | platform_device_unregister(dock_device); | 988 | platform_device_unregister(dock_device); |
989 | kfree(dock_station); | 989 | kfree(dock_station); |
990 | dock_station = NULL; | 990 | dock_station = NULL; |
@@ -992,7 +992,7 @@ static int dock_add(acpi_handle handle) | |||
992 | } | 992 | } |
993 | ret = device_create_file(&dock_device->dev, &dev_attr_undock); | 993 | ret = device_create_file(&dock_device->dev, &dev_attr_undock); |
994 | if (ret) { | 994 | if (ret) { |
995 | printk("Error %d adding sysfs file\n", ret); | 995 | printk(KERN_ERR "Error %d adding sysfs file\n", ret); |
996 | device_remove_file(&dock_device->dev, &dev_attr_docked); | 996 | device_remove_file(&dock_device->dev, &dev_attr_docked); |
997 | platform_device_unregister(dock_device); | 997 | platform_device_unregister(dock_device); |
998 | kfree(dock_station); | 998 | kfree(dock_station); |
@@ -1001,7 +1001,7 @@ static int dock_add(acpi_handle handle) | |||
1001 | } | 1001 | } |
1002 | ret = device_create_file(&dock_device->dev, &dev_attr_uid); | 1002 | ret = device_create_file(&dock_device->dev, &dev_attr_uid); |
1003 | if (ret) { | 1003 | if (ret) { |
1004 | printk("Error %d adding sysfs file\n", ret); | 1004 | printk(KERN_ERR "Error %d adding sysfs file\n", ret); |
1005 | device_remove_file(&dock_device->dev, &dev_attr_docked); | 1005 | device_remove_file(&dock_device->dev, &dev_attr_docked); |
1006 | device_remove_file(&dock_device->dev, &dev_attr_undock); | 1006 | device_remove_file(&dock_device->dev, &dev_attr_undock); |
1007 | platform_device_unregister(dock_device); | 1007 | platform_device_unregister(dock_device); |
@@ -1011,7 +1011,7 @@ static int dock_add(acpi_handle handle) | |||
1011 | } | 1011 | } |
1012 | ret = device_create_file(&dock_device->dev, &dev_attr_flags); | 1012 | ret = device_create_file(&dock_device->dev, &dev_attr_flags); |
1013 | if (ret) { | 1013 | if (ret) { |
1014 | printk("Error %d adding sysfs file\n", ret); | 1014 | printk(KERN_ERR "Error %d adding sysfs file\n", ret); |
1015 | device_remove_file(&dock_device->dev, &dev_attr_docked); | 1015 | device_remove_file(&dock_device->dev, &dev_attr_docked); |
1016 | device_remove_file(&dock_device->dev, &dev_attr_undock); | 1016 | device_remove_file(&dock_device->dev, &dev_attr_undock); |
1017 | device_remove_file(&dock_device->dev, &dev_attr_uid); | 1017 | device_remove_file(&dock_device->dev, &dev_attr_uid); |