kernel-fxtec-pro1x/arch/sh
Nicolas Palix f701b39998 sh: Replace an explicit computation by the use of the container_of macro
The macro container_of from kernel.h performs the same
pointer arithmetic operation.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
expression mptr;
expression member;
@@

- (void *)((char *)mptr - offsetof(T, member))
+ container_of(mptr, T, member)
// </smpl>

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-12-09 12:36:51 +09:00
..
boards sh: mach-ecovec24: LCDC drive ability become high 2009-12-04 13:42:32 +09:00
boot sh: include empty zero page in romImage 2009-12-04 16:26:20 +09:00
cchips
configs sh: enable onenand support in kfr2r09 defconfig. 2009-09-25 11:55:07 +09:00
drivers sh: dma: Kill off bogus dma_sysclass symbol export. 2009-11-13 12:29:19 +09:00
include sh: mach-ecovec24: Remove un-defined settings for VPU 2009-12-04 13:42:34 +09:00
kernel sh: Replace an explicit computation by the use of the container_of macro 2009-12-09 12:36:51 +09:00
lib sh: Optimised memset for SH4 2009-11-24 16:28:43 +09:00
lib64
math-emu sh: Minor optimisations to FPU handling 2009-11-24 17:45:38 +09:00
mm sh: Can't compare physical and virtual addresses for aliases 2009-12-09 12:34:46 +09:00
oprofile sh: oprofile: Fix up count size mismatch for common impl. 2009-11-05 17:13:15 +09:00
tools
Kconfig Merge branch 'sh/stable-updates' 2009-10-27 17:10:24 +09:00
Kconfig.cpu
Kconfig.debug
Makefile sh: Add default uImage rule for se7724, ap325rxa, and migor. 2009-12-04 13:57:40 +09:00