[PATCHv6 13/14] ARM: OMAP3: vc: auto_ret / auto_off support

Menon, Nishanth nm at ti.com
Fri Jun 1 06:18:26 EDT 2012


On Thu, May 31, 2012 at 8:55 AM, Tero Kristo <t-kristo at ti.com> wrote:
>
> +       case PWRDM_POWER_RET:
Apologies on hijacking this thread, but I do think we need to revisit
this series after rebase
on top of Jean's series - it otherwise results a mess of different
sets of macros.

IMHO though, it might be a good time to discuss if we would like to
switch from macros to
enums to become as much as possible type safe in usage - it is just
too easy for later
developers who will maintain this code from mistakenly using wrong
macros at the wrong
place and causing others to spend weeks debugging?

Regards,
Nishanth Menon



More information about the linux-arm-kernel mailing list