summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/emc1403.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-01-19 11:02:17 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:27:14 -0700
commit4bebced84fb66e8f4c061c5579264b112c39fdec (patch)
treebcdb00a063b4e94c2a4e01933a6a99c5561dc850 /drivers/hwmon/emc1403.c
parentca3c7b63423c7f723258797bcb5b11652d32500b (diff)
downloadlinux-stable-4bebced84fb66e8f4c061c5579264b112c39fdec.tar.gz
linux-stable-4bebced84fb66e8f4c061c5579264b112c39fdec.tar.bz2
linux-stable-4bebced84fb66e8f4c061c5579264b112c39fdec.zip
hwmon: (emc1403) Fix multi-line comments
Cc: Kalhan Trisal <kalhan.trisal@intel.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/emc1403.c')
-rw-r--r--drivers/hwmon/emc1403.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/hwmon/emc1403.c b/drivers/hwmon/emc1403.c
index 99ac141bf3d7..149dcb0e148f 100644
--- a/drivers/hwmon/emc1403.c
+++ b/drivers/hwmon/emc1403.c
@@ -41,8 +41,10 @@
struct thermal_data {
struct device *hwmon_dev;
struct mutex mutex;
- /* Cache the hyst value so we don't keep re-reading it. In theory
- we could cache it forever as nobody else should be writing it. */
+ /*
+ * Cache the hyst value so we don't keep re-reading it. In theory
+ * we could cache it forever as nobody else should be writing it.
+ */
u8 cached_hyst;
unsigned long hyst_valid;
};
@@ -283,8 +285,10 @@ static int emc1403_detect(struct i2c_client *client,
case 0x23:
strlcpy(info->type, "emc1423", I2C_NAME_SIZE);
break;
- /* Note: 0x25 is the 1404 which is very similar and this
- driver could be extended */
+ /*
+ * Note: 0x25 is the 1404 which is very similar and this
+ * driver could be extended
+ */
default:
return -ENODEV;
}