All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: Re: [PATCH] i2c driver changes for 2.5.65
Date: Thu, 20 Mar 2003 14:32 -0800	[thread overview]
Message-ID: <10481995724104@kroah.com> (raw)
In-Reply-To: <10481995723512@kroah.com>

ChangeSet 1.1143.1.10, 2003/03/20 11:15:18-08:00, greg@kroah.com

[PATCH] i2c i2c-ali15x3.c: remove check_region() call.


 drivers/i2c/busses/i2c-ali15x3.c |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)


diff -Nru a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c
--- a/drivers/i2c/busses/i2c-ali15x3.c	Thu Mar 20 12:54:58 2003
+++ b/drivers/i2c/busses/i2c-ali15x3.c	Thu Mar 20 12:54:58 2003
@@ -170,7 +170,7 @@
 	if(force_addr)
 		ali15x3_smba = force_addr & ~(ALI15X3_SMB_IOSIZE - 1);
 
-	if (check_region(ali15x3_smba, ALI15X3_SMB_IOSIZE)) {
+	if (!request_region(ali15x3_smba, ALI15X3_SMB_IOSIZE, "ali15x3-smb")) {
 		dev_err(&ALI15X3_dev->dev,
 			"ALI15X3_smb region 0x%x already in use!\n",
 			ali15x3_smba);
@@ -209,9 +209,6 @@
 
 /* set SMB clock to 74KHz as recommended in data sheet */
 	pci_write_config_byte(ALI15X3_dev, SMBCLK, 0x20);
-
-	/* Everything is happy, let's grab the memory and set things up. */
-	request_region(ali15x3_smba, ALI15X3_SMB_IOSIZE, "ali15x3-smb");
 
 /*
   The interrupt routing for SMB is set up in register 0x77 in the


  reply	other threads:[~2003-03-20 22:24 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 22:30 [BK PATCH] i2c driver changes for 2.5.65 Greg KH
2005-05-19  6:23 ` Greg KH
2003-03-20 22:32 ` [PATCH] " Greg KH
2003-03-20 22:32   ` Greg KH
2005-05-19  6:23     ` Greg KH
2003-03-20 22:32     ` Greg KH
2003-03-20 22:32       ` Greg KH
2003-03-20 22:32         ` Greg KH
2005-05-19  6:23           ` Greg KH
2003-03-20 22:32           ` Greg KH
2003-03-20 22:32             ` Greg KH
2003-03-20 22:32               ` Greg KH
2003-03-20 22:32                 ` Greg KH
2003-03-20 22:32                   ` Greg KH [this message]
2003-03-20 22:32                     ` Greg KH
2003-03-20 22:32                       ` Greg KH
2003-03-20 22:32                         ` Greg KH
2003-03-20 22:32                           ` Greg KH
2003-03-20 22:32                             ` Greg KH
2003-03-20 22:32                               ` Greg KH
2003-03-20 23:41   ` Christoph Hellwig
2005-05-19  6:23     ` Christoph Hellwig
2003-03-20 23:52     ` 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=10481995724104@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.