forked from mirrors/linux
		
	hwmon: (smsc47b397) Fix multi-line comments
Cc: Mark M Hoffman <mhoffman@lightlink.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
		
							parent
							
								
									36564efadd
								
							
						
					
					
						commit
						2a52dd667d
					
				
					 1 changed files with 34 additions and 30 deletions
				
			
		|  | @ -1,29 +1,29 @@ | |||
| /*
 | ||||
|     smsc47b397.c - Part of lm_sensors, Linux kernel modules | ||||
| 			for hardware monitoring | ||||
| 
 | ||||
|     Supports the SMSC LPC47B397-NC Super-I/O chip. | ||||
| 
 | ||||
|     Author/Maintainer: Mark M. Hoffman <mhoffman@lightlink.com> | ||||
| 	Copyright (C) 2004 Utilitek Systems, Inc. | ||||
| 
 | ||||
|     derived in part from smsc47m1.c: | ||||
| 	Copyright (C) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com> | ||||
| 	Copyright (C) 2004 Jean Delvare <khali@linux-fr.org> | ||||
| 
 | ||||
|     This program is free software; you can redistribute it and/or modify | ||||
|     it under the terms of the GNU General Public License as published by | ||||
|     the Free Software Foundation; either version 2 of the License, or | ||||
|     (at your option) any later version. | ||||
| 
 | ||||
|     This program is distributed in the hope that it will be useful, | ||||
|     but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|     GNU General Public License for more details. | ||||
| 
 | ||||
|     You should have received a copy of the GNU General Public License | ||||
|     along with this program; if not, write to the Free Software | ||||
|     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
|  * smsc47b397.c - Part of lm_sensors, Linux kernel modules | ||||
|  * for hardware monitoring | ||||
|  * | ||||
|  * Supports the SMSC LPC47B397-NC Super-I/O chip. | ||||
|  * | ||||
|  * Author/Maintainer: Mark M. Hoffman <mhoffman@lightlink.com> | ||||
|  * Copyright (C) 2004 Utilitek Systems, Inc. | ||||
|  * | ||||
|  * derived in part from smsc47m1.c: | ||||
|  * Copyright (C) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com> | ||||
|  * Copyright (C) 2004 Jean Delvare <khali@linux-fr.org> | ||||
|  * | ||||
|  * This program is free software; you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU General Public License as published by | ||||
|  * the Free Software Foundation; either version 2 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * | ||||
|  * This program is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU General Public License for more details. | ||||
|  * | ||||
|  * You should have received a copy of the GNU General Public License | ||||
|  * along with this program; if not, write to the Free Software | ||||
|  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
|  */ | ||||
| 
 | ||||
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||||
|  | @ -157,8 +157,10 @@ static struct smsc47b397_data *smsc47b397_update_device(struct device *dev) | |||
| 	return data; | ||||
| } | ||||
| 
 | ||||
| /* TEMP: 0.001C/bit (-128C to +127C)
 | ||||
|    REG: 1C/bit, two's complement */ | ||||
| /*
 | ||||
|  * TEMP: 0.001C/bit (-128C to +127C) | ||||
|  * REG: 1C/bit, two's complement | ||||
|  */ | ||||
| static int temp_from_reg(u8 reg) | ||||
| { | ||||
| 	return (s8)reg * 1000; | ||||
|  | @ -177,8 +179,10 @@ static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); | |||
| static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); | ||||
| static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); | ||||
| 
 | ||||
| /* FAN: 1 RPM/bit
 | ||||
|    REG: count of 90kHz pulses / revolution */ | ||||
| /*
 | ||||
|  * FAN: 1 RPM/bit | ||||
|  * REG: count of 90kHz pulses / revolution | ||||
|  */ | ||||
| static int fan_from_reg(u16 reg) | ||||
| { | ||||
| 	if (reg == 0 || reg == 0xffff) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Guenter Roeck
						Guenter Roeck