public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4] I2C updates for 2.4.29 (2/3)
Date: Sat, 29 Jan 2005 12:28:10 +0100	[thread overview]
Message-ID: <20050129122810.6c1a4957.khali@linux-fr.org> (raw)
In-Reply-To: <20050129120235.5c7160e6.khali@linux-fr.org>

While editing i2c-algo-bit.c and i2c-algo-pcf.c (see 1/3 of this patch
set), I noticed that both files include header files they do not need at
all (namely linux/ioport.h and asm/uaccess.h). The following patch
cleans this, additionally bringing the files in line with what we have
in i2c CVS (thus the blank lines changes).

--- linux-2.4.29/drivers/i2c/i2c-algo-bit.c.orig	2005-01-29 11:33:33.000000000 +0100
+++ linux-2.4.29/drivers/i2c/i2c-algo-bit.c	2005-01-29 11:35:39.000000000 +0100
@@ -28,14 +28,12 @@
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/init.h>
-#include <asm/uaccess.h>
-#include <linux/ioport.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
-
 #include <linux/i2c.h>
 #include <linux/i2c-algo-bit.h>
 
+
 /* ----- global defines ----------------------------------------------- */
 #define DEB(x) if (i2c_debug>=1) x;
 #define DEB2(x) if (i2c_debug>=2) x;
--- linux-2.4.29/drivers/i2c/i2c-algo-pcf.c.orig	2005-01-29 11:33:40.000000000 +0100
+++ linux-2.4.29/drivers/i2c/i2c-algo-pcf.c	2005-01-29 11:35:45.000000000 +0100
@@ -32,15 +32,13 @@
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/init.h>
-#include <asm/uaccess.h>
-#include <linux/ioport.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
-
 #include <linux/i2c.h>
 #include <linux/i2c-algo-pcf.h>
 #include "i2c-pcf8584.h"
 
+
 /* ----- global defines ----------------------------------------------- */
 #define DEB(x) if (i2c_debug>=1) x
 #define DEB2(x) if (i2c_debug>=2) x


-- 
Jean Delvare
http://khali.linux-fr.org/

  parent reply	other threads:[~2005-01-29 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29 11:02 I2C updates for 2.4.29 Jean Delvare
2005-01-29 11:14 ` [PATCH 2.4] I2C updates for 2.4.29 (1/3) Jean Delvare
2005-01-29 11:28 ` Jean Delvare [this message]
2005-01-29 11:37 ` [PATCH 2.4] I2C updates for 2.4.29 (3/3) Jean Delvare

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=20050129122810.6c1a4957.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox