mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
hwmon: (lm75) Trivial changes to pacify the checkpatch
Some trivial changes to pacify the checkpatch. Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
e3cd9528af
commit
caaa0f36c3
1 changed files with 23 additions and 21 deletions
|
@ -1,22 +1,22 @@
|
||||||
/*
|
/*
|
||||||
lm75.c - Part of lm_sensors, Linux kernel modules for hardware
|
* lm75.c - Part of lm_sensors, Linux kernel modules for hardware
|
||||||
monitoring
|
* monitoring
|
||||||
Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl>
|
* Copyright (c) 1998, 1999 Frodo Looijaard <frodol@dds.nl>
|
||||||
|
*
|
||||||
This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
|
@ -340,9 +340,11 @@ static struct i2c_driver lm75_driver = {
|
||||||
|
|
||||||
/* register access */
|
/* register access */
|
||||||
|
|
||||||
/* All registers are word-sized, except for the configuration register.
|
/*
|
||||||
LM75 uses a high-byte first convention, which is exactly opposite to
|
* All registers are word-sized, except for the configuration register.
|
||||||
the SMBus standard. */
|
* LM75 uses a high-byte first convention, which is exactly opposite to
|
||||||
|
* the SMBus standard.
|
||||||
|
*/
|
||||||
static int lm75_read_value(struct i2c_client *client, u8 reg)
|
static int lm75_read_value(struct i2c_client *client, u8 reg)
|
||||||
{
|
{
|
||||||
int value;
|
int value;
|
||||||
|
|
Loading…
Reference in a new issue