linux-sg2042/drivers/sbus/char
Tejun Heo f06d9a2b52 block: replace end_request() with [__]blk_end_request_cur()
end_request() has been kept around for backward compatibility;
however, it's about time for it to go away.

* There aren't too many users left.

* Its use of @updtodate is pretty confusing.

* In some cases, newer code ends up using mixture of end_request() and
  [__]blk_end_request[_all](), which is way too confusing.

So, add [__]blk_end_request_cur() and replace end_request() with it.
Most conversions are straightforward.  Noteworthy ones are...

* paride/pcd: next_request() updated to take 0/-errno instead of 1/0.

* paride/pf: pf_end_request() and next_request() updated to take
  0/-errno instead of 1/0.

* xd: xd_readwrite() updated to return 0/-errno instead of 1/0.

* mtd/mtd_blkdevs: blktrans_discard_request() updated to return
  0/-errno instead of 1/0.  Unnecessary local variable res
  initialization removed from mtd_blktrans_thread().

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Joerg Dorchain <joerg@dorchain.net>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Laurent Vivier <Laurent@lvivier.info>
Cc: Tim Waugh <tim@cyberelk.net>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Cc: unsik Kim <donari75@gmail.com>
2009-04-28 07:37:36 +02:00
..
Kconfig sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
Makefile sparc: Kill sbus mostek RTC driver. 2008-09-03 15:55:32 -07:00
bbc_envctrl.c bbc_envctrl: Fix build errors from bbc_i2c OF conversion. 2008-08-29 22:55:14 -07:00
bbc_i2c.c sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS 2009-03-04 00:19:28 -08:00
bbc_i2c.h bbc_i2c: Convert to pure OF driver. 2008-08-29 22:34:14 -07:00
display7seg.c sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
envctrl.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
flash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
jsflash.c block: replace end_request() with [__]blk_end_request_cur() 2009-04-28 07:37:36 +02:00
max1617.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.c sbus: Auto-load openprom module when device opened. 2009-03-13 14:30:08 -07:00
uctrl.c sbus: changed ioctls to unlocked 2009-04-14 19:46:19 -07:00