Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb911ee8 authored by Peter Osterlund's avatar Peter Osterlund Committed by Linus Torvalds
Browse files

[PATCH] Remove unnecessary check_region references in comments



Remove check_region references from comments and printk statements so that
searching for real users of this deprecated function gets easier.

Signed-off-by: default avatarPeter Osterlund <petero2@telia.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8a1c1757
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2053,10 +2053,6 @@ static int __init rs_init(void)
	state->icount.rx = state->icount.tx = 0;
	state->icount.frame = state->icount.parity = 0;
	state->icount.overrun = state->icount.brk = 0;
	/*
	if(state->port && check_region(state->port,REGION_LENGTH(state)))
	  continue;
	*/

	printk(KERN_INFO "ttyS%d is the amiga builtin serial port\n",
		       state->line);
+2 −2
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ static int __init sc_init(void)
			 */
			for (i = 0 ; i < MAX_IO_REGS - 1 ; i++) {
				if(!request_region(io[b] + i * 0x400, 1, "sc test")) {
					pr_debug("check_region for 0x%x failed\n", io[b] + i * 0x400);
					pr_debug("request_region for 0x%x failed\n", io[b] + i * 0x400);
					io[b] = 0;
					break;
				} else
@@ -181,7 +181,7 @@ static int __init sc_init(void)
			for (i = SRAM_MIN ; i < SRAM_MAX ; i += SRAM_PAGESIZE) {
				pr_debug("Checking RAM address 0x%x...\n", i);
				if(request_region(i, SRAM_PAGESIZE, "sc test")) {
					pr_debug("  check_region succeeded\n");
					pr_debug("  request_region succeeded\n");
					model = identify_board(i, io[b]);
					release_region(i, SRAM_PAGESIZE);
					if (model >= 0) {
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@

#include <linux/module.h>	/* Modules 			*/
#include <linux/init.h>		/* Initdata			*/
#include <linux/ioport.h>	/* check_region, request_region	*/
#include <linux/ioport.h>	/* request_region		*/
#include <linux/delay.h>	/* udelay			*/
#include <asm/io.h>		/* outb, outb_p			*/
#include <asm/uaccess.h>	/* copy to/from user		*/
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@

#include <linux/module.h>	/* Modules 			*/
#include <linux/init.h>		/* Initdata			*/
#include <linux/ioport.h>	/* check_region, request_region	*/
#include <linux/ioport.h>	/* request_region		*/
#include <linux/delay.h>	/* udelay			*/
#include <asm/io.h>		/* outb, outb_p			*/
#include <asm/uaccess.h>	/* copy to/from user		*/
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@

#include <linux/module.h>	/* Modules 			*/
#include <linux/init.h>		/* Initdata			*/
#include <linux/ioport.h>	/* check_region, request_region	*/
#include <linux/ioport.h>	/* request_region		*/
#include <linux/delay.h>	/* udelay			*/
#include <asm/io.h>		/* outb, outb_p			*/
#include <asm/uaccess.h>	/* copy to/from user		*/
Loading