commit | 0059005f2cbf4847551b9ad9915ffffe23aef0b9 | [log] [tgz] |
---|---|---|
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | Mon Jan 03 22:41:54 2011 +0000 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Jan 04 19:16:13 2011 -0800 |
tree | ff40c68f8c836d217b81d5c385e4ff2275a335be | |
parent | 858c21c0f380fb9c78f47f3e372f9baadc54dffe [diff] |
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>