Skip to content

Commit

Permalink
[PATCH] remove some more check_region stuff
Browse files Browse the repository at this point in the history
Removed some more references to check_region().

I checked these changes into the 'checkreg' branch of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git

The only valid references remaining are in:
drivers/scsi/advansys.c
drivers/scsi/BusLogic.c
drivers/cdrom/sbpcd.c
sound/oss/pss.c

  Remove last vestiges of ide_check_region()
  drivers/char/specialix: trim trailing whitespace
  drivers/char/specialix: eliminate use of check_region()
  Remove outdated and unused references to check_region()
  [sound oss] remove check_region() usage from cs4232, wavfront
  [netdrvr eepro] trim trailing whitespace
  [netdrvr eepro] remove check_region() usage

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jeff Garzik authored and Linus Torvalds committed Oct 31, 2005
1 parent 34ad92c commit d61780c
Show file tree
Hide file tree
Showing 11 changed files with 230 additions and 228 deletions.
1 change: 1 addition & 0 deletions Documentation/i2c/writing-clients
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ For now, you can ignore the `flags' parameter. It is there for future use.
if (is_isa) {

/* Discard immediately if this ISA range is already used */
/* FIXME: never use check_region(), only request_region() */
if (check_region(address,FOO_EXTENT))
goto ERROR0;

Expand Down
5 changes: 0 additions & 5 deletions arch/ppc/platforms/hdpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,11 +609,6 @@ static void parse_bootinfo(unsigned long r3,
}

#if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE)
static int hdpu_ide_check_region(ide_ioreg_t from, unsigned int extent)
{
return check_region(from, extent);
}

static void
hdpu_ide_request_region(ide_ioreg_t from, unsigned int extent, const char *name)
{
Expand Down
4 changes: 2 additions & 2 deletions arch/sparc/kernel/pcic.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ static void pcic_map_pci_device(struct linux_pcic *pcic,
* CheerIO makes a similar conversion.
* See ebus.c for details.
*
* Note that check_region()/request_region()
* work for these devices.
* Note that request_region()
* works for these devices.
*
* XXX Neat trick, but it's a *bad* idea
* to shit into regions like that.
Expand Down
Loading

0 comments on commit d61780c

Please sign in to comment.