[lm-sensors] [PATCH 4/4] hp_accel: Fix driver name
Jean Delvare
khali at linux-fr.org
Sat Feb 19 14:28:32 CET 2011
I suspect that the "lis3lv02d" driver name is a legacy from before
the split into several modules. Use a specific name for the hp_accel
driver, for better error messages and easier investigation of issues.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
Cc: Eric Piel <eric.piel at tremplin-utc.net>
Cc: Guenter Roeck <guenter.roeck at ericsson.com>
---
Not tested due to lack of hardware.
drivers/platform/x86/hp_accel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.38-rc5.orig/drivers/platform/x86/hp_accel.c 2011-02-19 13:28:46.000000000 +0100
+++ linux-2.6.38-rc5/drivers/platform/x86/hp_accel.c 2011-02-19 13:39:49.000000000 +0100
@@ -39,7 +39,7 @@
#include <acpi/acpi_drivers.h>
#include "../../misc/lis3lv02d/lis3lv02d.h"
-#define DRIVER_NAME "lis3lv02d"
+#define DRIVER_NAME "hp_accel"
#define ACPI_MDPS_CLASS "accelerometer"
/* Delayed LEDs infrastructure ------------------------------------ */
--
Jean Delvare
More information about the lm-sensors
mailing list