aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/hwmon/abituguru.c2
-rw-r--r--drivers/hwmon/abituguru3.c2
-rw-r--r--drivers/hwmon/applesmc.c2
-rw-r--r--drivers/hwmon/f71805f.c3
4 files changed, 4 insertions, 5 deletions
diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c
index 6119ff8e8c87..b84f180f210c 100644
--- a/drivers/hwmon/abituguru.c
+++ b/drivers/hwmon/abituguru.c
@@ -98,7 +98,7 @@
98#define ABIT_UGURU_NAME "abituguru" 98#define ABIT_UGURU_NAME "abituguru"
99#define ABIT_UGURU_DEBUG(level, format, arg...) \ 99#define ABIT_UGURU_DEBUG(level, format, arg...) \
100 if (level <= verbose) \ 100 if (level <= verbose) \
101 printk(KERN_DEBUG ABIT_UGURU_NAME ": " format , ## arg) 101 pr_debug(format , ## arg)
102/* Macros to help calculate the sysfs_names array length */ 102/* Macros to help calculate the sysfs_names array length */
103/* 103/*
104 * sum of strlen of: in??_input\0, in??_{min,max}\0, in??_{min,max}_alarm\0, 104 * sum of strlen of: in??_input\0, in??_{min,max}\0, in??_{min,max}_alarm\0,
diff --git a/drivers/hwmon/abituguru3.c b/drivers/hwmon/abituguru3.c
index 205327d33c4d..dcce352e77f6 100644
--- a/drivers/hwmon/abituguru3.c
+++ b/drivers/hwmon/abituguru3.c
@@ -78,7 +78,7 @@
78#define ABIT_UGURU3_NAME "abituguru3" 78#define ABIT_UGURU3_NAME "abituguru3"
79#define ABIT_UGURU3_DEBUG(format, arg...) \ 79#define ABIT_UGURU3_DEBUG(format, arg...) \
80 if (verbose) \ 80 if (verbose) \
81 printk(KERN_DEBUG ABIT_UGURU3_NAME ": " format , ## arg) 81 pr_debug(format , ## arg)
82 82
83/* Macros to help calculate the sysfs_names array length */ 83/* Macros to help calculate the sysfs_names array length */
84#define ABIT_UGURU3_MAX_NO_SENSORS 26 84#define ABIT_UGURU3_MAX_NO_SENSORS 26
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index b41baffa20f0..62c2e32e25ef 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -922,7 +922,7 @@ static void applesmc_brightness_set(struct led_classdev *led_cdev,
922 ret = queue_work(applesmc_led_wq, &backlight_work); 922 ret = queue_work(applesmc_led_wq, &backlight_work);
923 923
924 if (debug && (!ret)) 924 if (debug && (!ret))
925 printk(KERN_DEBUG "applesmc: work was already on the queue.\n"); 925 dev_dbg(led_cdev->dev, "work was already on the queue.\n");
926} 926}
927 927
928static ssize_t applesmc_key_count_show(struct device *dev, 928static ssize_t applesmc_key_count_show(struct device *dev,
diff --git a/drivers/hwmon/f71805f.c b/drivers/hwmon/f71805f.c
index a9816979c5de..0c9f3da242bf 100644
--- a/drivers/hwmon/f71805f.c
+++ b/drivers/hwmon/f71805f.c
@@ -1350,8 +1350,7 @@ static void f71805f_init_device(struct f71805f_data *data)
1350 1350
1351 reg = f71805f_read8(data, F71805F_REG_START); 1351 reg = f71805f_read8(data, F71805F_REG_START);
1352 if ((reg & 0x41) != 0x01) { 1352 if ((reg & 0x41) != 0x01) {
1353 printk(KERN_DEBUG DRVNAME ": Starting monitoring " 1353 pr_debug("Starting monitoring operations\n");
1354 "operations\n");
1355 f71805f_write8(data, F71805F_REG_START, (reg | 0x01) & ~0x40); 1354 f71805f_write8(data, F71805F_REG_START, (reg | 0x01) & ~0x40);
1356 } 1355 }
1357 1356