From: Helmut Schaa Date: Mon, 18 Apr 2011 13:27:43 +0000 (+0200) Subject: rt2x00: Make rt2x00_queue_entry_for_each more flexible X-Git-Tag: v3.0-rc1~377^2~256^2^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e11568ca8b8a15f7478f6a4ceebabcbdba1018;p=pandora-kernel.git rt2x00: Make rt2x00_queue_entry_for_each more flexible Allow passing a void pointer to rt2x00_queue_entry_for_each which in turn in provided to the callback function. Furthermore, allow the callback function to stop processing by returning true. And also notify the caller of rt2x00_queue_entry_for_each if the loop was canceled by the callback. No functional changes, just preparation for an upcoming patch. Signed-off-by: Helmut Schaa Signed-off-by: Ivo van Doorn Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed