All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: [PATCH] i2c driver changes for 2.5.68
Date: Thu, 19 May 2005 06:23:54 +0000	[thread overview]
Message-ID: <1051228746897@kroah.com> (raw)
In-Reply-To: <20030424235836.GA29888@kroah.com>
In-Reply-To: <10512287461373@kroah.com>

ChangeSet 1.1179.3.1, 2003/04/23 11:32:48-07:00, hch@lst.de

[PATCH] i2c: remove dead junk from i2c-sensors.h


 include/linux/i2c-sensor.h |   32 --------------------------------
 1 files changed, 32 deletions(-)


diff -Nru a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h
--- a/include/linux/i2c-sensor.h	Thu Apr 24 16:47:45 2003
+++ b/include/linux/i2c-sensor.h	Thu Apr 24 16:47:45 2003
@@ -22,18 +22,6 @@
 #ifndef _LINUX_I2C_SENSOR_H
 #define _LINUX_I2C_SENSOR_H
 
-#include <linux/sysctl.h>
-
-/* The type of callback functions used in sensors_{proc,sysctl}_real */
-typedef void (*i2c_real_callback) (struct i2c_client * client,
-				       int operation, int ctl_name,
-				       int *nrels_mag, long *results);
-
-/* Values for the operation field in the above function type */
-#define SENSORS_PROC_REAL_INFO 1
-#define SENSORS_PROC_REAL_READ 2
-#define SENSORS_PROC_REAL_WRITE 3
-
 /* A structure containing detect information.
    Force variables overrule all other variables; they force a detection on
    that place. If a specific chip is given, the module blindly assumes this
@@ -350,24 +338,4 @@
 	else
 		return value;
 }
-
-
-/* The maximum length of the prefix */
-#define SENSORS_PREFIX_MAX 20
-
-/* Sysctl IDs */
-#ifdef DEV_HWMON
-#define DEV_SENSORS DEV_HWMON
-#else				/* ndef DEV_HWMOM */
-#define DEV_SENSORS 2		/* The id of the lm_sensors directory within the
-				   dev table */
-#endif				/* def DEV_HWMON */
-
-#define SENSORS_CHIPS 1
-struct i2c_chips_data {
-	int sysctl_id;
-	char name[SENSORS_PREFIX_MAX + 13];
-};
-
 #endif				/* def _LINUX_I2C_SENSOR_H */
-


WARNING: multiple messages have this Message-ID (diff)
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: [PATCH] i2c driver changes for 2.5.68
Date: Thu, 24 Apr 2003 16:59:06 -0700	[thread overview]
Message-ID: <1051228746897@kroah.com> (raw)
In-Reply-To: <20030424235836.GA29888@kroah.com>

ChangeSet 1.1179.3.1, 2003/04/23 11:32:48-07:00, hch@lst.de

[PATCH] i2c: remove dead junk from i2c-sensors.h


 include/linux/i2c-sensor.h |   32 --------------------------------
 1 files changed, 32 deletions(-)


diff -Nru a/include/linux/i2c-sensor.h b/include/linux/i2c-sensor.h
--- a/include/linux/i2c-sensor.h	Thu Apr 24 16:47:45 2003
+++ b/include/linux/i2c-sensor.h	Thu Apr 24 16:47:45 2003
@@ -22,18 +22,6 @@
 #ifndef _LINUX_I2C_SENSOR_H
 #define _LINUX_I2C_SENSOR_H
 
-#include <linux/sysctl.h>
-
-/* The type of callback functions used in sensors_{proc,sysctl}_real */
-typedef void (*i2c_real_callback) (struct i2c_client * client,
-				       int operation, int ctl_name,
-				       int *nrels_mag, long *results);
-
-/* Values for the operation field in the above function type */
-#define SENSORS_PROC_REAL_INFO 1
-#define SENSORS_PROC_REAL_READ 2
-#define SENSORS_PROC_REAL_WRITE 3
-
 /* A structure containing detect information.
    Force variables overrule all other variables; they force a detection on
    that place. If a specific chip is given, the module blindly assumes this
@@ -350,24 +338,4 @@
 	else
 		return value;
 }
-
-
-/* The maximum length of the prefix */
-#define SENSORS_PREFIX_MAX 20
-
-/* Sysctl IDs */
-#ifdef DEV_HWMON
-#define DEV_SENSORS DEV_HWMON
-#else				/* ndef DEV_HWMOM */
-#define DEV_SENSORS 2		/* The id of the lm_sensors directory within the
-				   dev table */
-#endif				/* def DEV_HWMON */
-
-#define SENSORS_CHIPS 1
-struct i2c_chips_data {
-	int sysctl_id;
-	char name[SENSORS_PREFIX_MAX + 13];
-};
-
 #endif				/* def _LINUX_I2C_SENSOR_H */
-


  parent reply	other threads:[~2005-05-19  6:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-24 23:58 [BK PATCH] i2c driver changes for 2.5.68 Greg KH
2005-05-19  6:23 ` Greg KH
2003-04-24 23:59 ` Greg KH [this message]
2005-05-19  6:23   ` [PATCH] " Greg KH
2003-04-24 23:59   ` Greg KH
2005-05-19  6:23     ` Greg KH
2003-04-24 23:59     ` Greg KH
2005-05-19  6:23       ` Greg KH
2003-04-24 23:59       ` Greg KH
2005-05-19  6:23         ` Greg KH
2003-04-24 23:59         ` Greg KH
2005-05-19  6:23           ` Greg KH
2003-04-24 23:59           ` Greg KH
2005-05-19  6:23             ` Greg KH
2003-04-24 23:59             ` Greg KH
2005-05-19  6:23               ` Greg KH
2003-04-24 23:59               ` Greg KH
2005-05-19  6:23                 ` Greg KH
2003-04-24 23:59                 ` Greg KH
2005-05-19  6:23                   ` Greg KH
2003-04-24 23:59                   ` Greg KH
2005-05-19  6:23                     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1051228746897@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sensors@stimpy.netroedge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.