From: Geert Uytterhoeven Date: Sun, 4 Jan 2009 10:43:00 +0000 (+0100) Subject: fbdev: c2p - Cleanups X-Git-Tag: v2.6.29-rc2~109^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f034456c140a8677d0ff3a9bdb3c4b620aae2cb;p=pandora-kernel.git fbdev: c2p - Cleanups - Improve comments and naming - Convert macros to static inline functions - Remove superfluous `break' after `return' - Make sure we get a build-time error (undefined reference to 'c2p_unsupported') in case of future misuse - Replace `unsigned long' by `u32' in comp(), as that's what all callers use - Use {get,put}_unaligned_be32() in store_planar{,_masked}() - Use void * for arbitrary pointers - Use a union to represent pixels/words, to avoid casts Signed-off-by: Geert Uytterhoeven --- Reading git-diff-tree failed