[PATCH v7 15/26] gpio/omap: remove bank->method & METHOD_* macros
tony at atomide.com
Wed Sep 21 11:05:33 EDT 2011
* Tarun Kanti DebBarma <tarun.kanti at ti.com> [110913 05:30]:
> From: Charulatha V <charu at ti.com>
> The only bank->type (method) used in the OMAP GPIO driver is MPUIO type as they
> need to be handled separately. Identify the same using a flag and remove all
> METHOD_* macros.
> mpuio_init() function is defined under #ifdefs. It is required only in case
> of MPUIO bank type and only when PM operations are supported by it.
> This is applicable only in case of OMAP16xx SoC's MPUIO GPIO bank type.
> For all the other cases it is a dummy function. Hence clean up the same
> and remove all the OMAP SoC specific #ifdefs.
> Signed-off-by: Charulatha V <charu at ti.com>
> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti at ti.com>
> Reviewed-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
Acked-by: Tony Lindgren <tony at atomide.com>
More information about the linux-arm-kernel