Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263045AbVCDWRP (ORCPT ); Fri, 4 Mar 2005 17:17:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263108AbVCDWMw (ORCPT ); Fri, 4 Mar 2005 17:12:52 -0500 Received: from mail.kroah.org ([69.55.234.183]:52897 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S263142AbVCDUyX convert rfc822-to-8bit (ORCPT ); Fri, 4 Mar 2005 15:54:23 -0500 Cc: mhoffman@lightlink.com Subject: [PATCH] I2C: unnecessary #includes in asb100.c In-Reply-To: <11099685951139@kroah.com> X-Mailer: gregkh_patchbomb Date: Fri, 4 Mar 2005 12:36:35 -0800 Message-Id: <11099685953317@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Reply-To: Greg K-H To: linux-kernel@vger.kernel.org, sensors@Stimpy.netroedge.com Content-Transfer-Encoding: 7BIT From: Greg KH Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1506 Lines: 48 ChangeSet 1.2094, 2005/03/02 12:10:01-08:00, mhoffman@lightlink.com [PATCH] I2C: unnecessary #includes in asb100.c * Jean Delvare [2005-01-25 10:14:49 +0100]: > Any reson why asb100.c (in linux 2.6.11-rc2) includes linux/ioport.h and > asm/io.h? As an i2c-only chip driver, I don't think it needs these. > > As a side note, I also wonder what the inclusions of linux/config.h, > linux/types.h and asm/errno.h are there for. Because they look pretty? Here's a patch Greg, please apply... Signed-off-by: Mark M. Hoffman Signed-off-by: Greg Kroah-Hartman drivers/i2c/chips/asb100.c | 5 ----- 1 files changed, 5 deletions(-) diff -Nru a/drivers/i2c/chips/asb100.c b/drivers/i2c/chips/asb100.c --- a/drivers/i2c/chips/asb100.c 2005-03-04 12:25:10 -08:00 +++ b/drivers/i2c/chips/asb100.c 2005-03-04 12:25:10 -08:00 @@ -36,17 +36,12 @@ asb100 7 3 1 4 0x31 0x0694 yes no */ -#include #include #include -#include -#include #include #include #include #include -#include -#include #include "lm75.h" /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/