diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-01-19 14:02:17 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 21:27:14 -0400 |
commit | 4bebced84fb66e8f4c061c5579264b112c39fdec (patch) | |
tree | bcdb00a063b4e94c2a4e01933a6a99c5561dc850 /drivers/hwmon | |
parent | ca3c7b63423c7f723258797bcb5b11652d32500b (diff) |
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')
-rw-r--r-- | drivers/hwmon/emc1403.c | 12 |
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 @@ | |||
41 | struct thermal_data { | 41 | struct thermal_data { |
42 | struct device *hwmon_dev; | 42 | struct device *hwmon_dev; |
43 | struct mutex mutex; | 43 | struct mutex mutex; |
44 | /* Cache the hyst value so we don't keep re-reading it. In theory | 44 | /* |
45 | we could cache it forever as nobody else should be writing it. */ | 45 | * Cache the hyst value so we don't keep re-reading it. In theory |
46 | * we could cache it forever as nobody else should be writing it. | ||
47 | */ | ||
46 | u8 cached_hyst; | 48 | u8 cached_hyst; |
47 | unsigned long hyst_valid; | 49 | unsigned long hyst_valid; |
48 | }; | 50 | }; |
@@ -283,8 +285,10 @@ static int emc1403_detect(struct i2c_client *client, | |||
283 | case 0x23: | 285 | case 0x23: |
284 | strlcpy(info->type, "emc1423", I2C_NAME_SIZE); | 286 | strlcpy(info->type, "emc1423", I2C_NAME_SIZE); |
285 | break; | 287 | break; |
286 | /* Note: 0x25 is the 1404 which is very similar and this | 288 | /* |
287 | driver could be extended */ | 289 | * Note: 0x25 is the 1404 which is very similar and this |
290 | * driver could be extended | ||
291 | */ | ||
288 | default: | 292 | default: |
289 | return -ENODEV; | 293 | return -ENODEV; |
290 | } | 294 | } |