summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nftlmount.c
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2011-01-03 23:41:54 +0100
committerDan Williams <dan.j.williams@intel.com>2011-01-05 04:16:13 +0100
commit0059005f2cbf4847551b9ad9915ffffe23aef0b9 (patch)
treeff40c68f8c836d217b81d5c385e4ff2275a335be /drivers/mtd/nftlmount.c
parentARM: PL08x: move callback outside spinlock'd region (diff)
downloadlinux-0059005f2cbf4847551b9ad9915ffffe23aef0b9.tar.xz
linux-0059005f2cbf4847551b9ad9915ffffe23aef0b9.zip
ARM: PL08x: make pl08x_fill_lli_for_desc() return void
We don't need pl08x_fill_lli_for_desc() to return num_llis + 1 as we know that's what it always does. We can just pass in num_llis and use post-increment in the caller. This makes the code slightly easier to read. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/mtd/nftlmount.c')
0 files changed, 0 insertions, 0 deletions