From: Paul Gortmaker Date: Fri, 27 May 2011 13:02:11 +0000 (-0400) Subject: include: convert various register fcns to macros to avoid include chaining X-Git-Tag: v3.2-rc1~22^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5589a8f0dab7e29021344228856339e6a1249c;p=pandora-kernel.git include: convert various register fcns to macros to avoid include chaining The original implementations reference THIS_MODULE in an inline. We could include , but it is better to avoid chaining. Fortunately someone else already thought of this, and made a similar inline into a #define in for device_schedule_callback(), [see commit 523ded71de0] so follow that precedent here. Also bubble up any __must_check that were used on the prev. wrapper inline functions up one to the real __register functions, to preserve any prev. sanity checks that were used in those instances. Signed-off-by: Paul Gortmaker --- Reading git-diff-tree failed