Trivial changes to pacify the checkpatch.
PATCH 1/1 Trivial changes to pacify the checkpatch.
Some trivial changes to pacify the checkpatch.
Signed-off-by Shubhrajyoti D <[email protected]>
--- drivers/hwmon/lm75.c | 45 ++++++++++++++++++++++++--------------------- 1 files changed, 24 insertions(+), 21 deletions(-)
drivers/hwmon/lm75.c +23 -21
@@ -1,22 +1,22 @@/* -lm75.c - Part of lm_sensors, Linux kernel modules for hardware -monitoring -Copyright (c) 1998, 1999 Frodo Looijaard <[email protected]> - -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. -*/ +* lm75.c - Part of lm_sensors, Linux kernel modules for hardware +* monitoring +* Copyright (c) 1998, 1999 Frodo Looijaard <[email protected]> +* +* 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. +*/ #include <linux/module.h> #include <linux/init.h>
@@ -339,9 +339,11 @@ static struct i2c_driver lm75_driver = {/* register access */ -/* All registers are word-sized, except for the configuration register. -LM75 uses a high-byte first convention, which is exactly opposite to -the SMBus standard. */ +/* +* All registers are word-sized, except for the configuration register. +* 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) {int value;
Signature · 7 lines
1.7.0.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare
AppliedQuoted 57 lines · Shubhrajyoti D
Some trivial changes to pacify the checkpatch.
Signed-off-by Shubhrajyoti D <[email protected]>--- drivers/hwmon/lm75.c | 45 ++++++++++++++++++++++++--------------------- 1 files changed, 24 insertions(+), 21 deletions(-)drivers/hwmon/lm75.c +18
-19@@ -1,22 +1,22 @@/* -lm75.c - Part of lm_sensors, Linux kernel modules for hardware -monitoring -Copyright (c) 1998, 1999 Frodo Looijaard <[email protected]> - -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. -*/ +* lm75.c - Part of lm_sensors, Linux kernel modules for hardware +* monitoring +* Copyright (c) 1998, 1999 Frodo Looijaard <[email protected]> +* +* 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. +*/ #include <linux/module.h> #include <linux/init.h> @@ -339,9 +339,11 @@ static struct i2c_driver lm75_driver = {/* register access */ -/* All registers are word-sized, except for the configuration register.
drivers/hwmon/lm75.c static struct i2c_driver lm75_driver = { · line 349
Quoted 10 lines
drivers/hwmon/lm75.c +5
-2-LM75 uses a high-byte first convention, which is exactly opposite to -the SMBus standard. */ +/* +* All registers are word-sized, except for the configuration register. +* 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) {int value;
Applied, thanks.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors