]> git.baikalelectronics.ru Git - kernel.git/commit
cyclades: tiocm cleanup
authorJiri Slaby <jirislaby@gmail.com>
Sat, 19 Sep 2009 20:13:16 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:16 +0000 (13:13 -0700)
commitc205029f5fb97016f0270f06c6884e5e2654ed90
tree821471e01f7ee85bdf83830db5efc273fbf199c5
parentd3b16df2f29eff27ed53b924d948e5b68437dc04
cyclades: tiocm cleanup

- save one indent level by inverting !fw_loaded condition
- read rs_status on Z and write it after we change all the flags,
  don't do that separately
- remove Y inverted rts/dtr branching, precompute registers and use
  them

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/cyclades.c