Commit 2a52dd667d74a074ebb54d2eec84ca55a73834b9

Authored by Guenter Roeck
Committed by Guenter Roeck
1 parent 36564efadd

hwmon: (smsc47b397) Fix multi-line comments

Cc: Mark M Hoffman <mhoffman@lightlink.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

Showing 1 changed file with 34 additions and 30 deletions Side-by-side Diff

drivers/hwmon/smsc47b397.c
1 1 /*
2   - smsc47b397.c - Part of lm_sensors, Linux kernel modules
3   - for hardware monitoring
  2 + * smsc47b397.c - Part of lm_sensors, Linux kernel modules
  3 + * for hardware monitoring
  4 + *
  5 + * Supports the SMSC LPC47B397-NC Super-I/O chip.
  6 + *
  7 + * Author/Maintainer: Mark M. Hoffman <mhoffman@lightlink.com>
  8 + * Copyright (C) 2004 Utilitek Systems, Inc.
  9 + *
  10 + * derived in part from smsc47m1.c:
  11 + * Copyright (C) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com>
  12 + * Copyright (C) 2004 Jean Delvare <khali@linux-fr.org>
  13 + *
  14 + * This program is free software; you can redistribute it and/or modify
  15 + * it under the terms of the GNU General Public License as published by
  16 + * the Free Software Foundation; either version 2 of the License, or
  17 + * (at your option) any later version.
  18 + *
  19 + * This program is distributed in the hope that it will be useful,
  20 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22 + * GNU General Public License for more details.
  23 + *
  24 + * You should have received a copy of the GNU General Public License
  25 + * along with this program; if not, write to the Free Software
  26 + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  27 + */
4 28  
5   - Supports the SMSC LPC47B397-NC Super-I/O chip.
6   -
7   - Author/Maintainer: Mark M. Hoffman <mhoffman@lightlink.com>
8   - Copyright (C) 2004 Utilitek Systems, Inc.
9   -
10   - derived in part from smsc47m1.c:
11   - Copyright (C) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com>
12   - Copyright (C) 2004 Jean Delvare <khali@linux-fr.org>
13   -
14   - This program is free software; you can redistribute it and/or modify
15   - it under the terms of the GNU General Public License as published by
16   - the Free Software Foundation; either version 2 of the License, or
17   - (at your option) any later version.
18   -
19   - This program is distributed in the hope that it will be useful,
20   - but WITHOUT ANY WARRANTY; without even the implied warranty of
21   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22   - GNU General Public License for more details.
23   -
24   - You should have received a copy of the GNU General Public License
25   - along with this program; if not, write to the Free Software
26   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27   -*/
28   -
29 29 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
30 30  
31 31 #include <linux/module.h>
... ... @@ -157,8 +157,10 @@
157 157 return data;
158 158 }
159 159  
160   -/* TEMP: 0.001C/bit (-128C to +127C)
161   - REG: 1C/bit, two's complement */
  160 +/*
  161 + * TEMP: 0.001C/bit (-128C to +127C)
  162 + * REG: 1C/bit, two's complement
  163 + */
162 164 static int temp_from_reg(u8 reg)
163 165 {
164 166 return (s8)reg * 1000;
... ... @@ -177,8 +179,10 @@
177 179 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
178 180 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
179 181  
180   -/* FAN: 1 RPM/bit
181   - REG: count of 90kHz pulses / revolution */
  182 +/*
  183 + * FAN: 1 RPM/bit
  184 + * REG: count of 90kHz pulses / revolution
  185 + */
182 186 static int fan_from_reg(u16 reg)
183 187 {
184 188 if (reg == 0 || reg == 0xffff)