]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Char: moxa, centralize board readiness
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:41 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:42 +0000 (08:29 -0700)
commit810ab09b2f3a4e9a6f553e3d1e84a27f4074de9c
treeafc58bd870e9fc8a70b661e808565dbdede31f43
parent97506056bdf0f230854142ffa986c616a0a5536e
Char: moxa, centralize board readiness

The only relevant sign of port being ready is its board->ready since now.
Remove all other flags for this purpose which are set almost on the same
place.  Move ports inside the board to be sure that nobody will grab reference
to the port without being sure that it exists.

[jirislaby@gmail.com: fix unused var warning]
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c