Re: [PATCH V6 02/15] ARM: OMAP2+: AM33XX: add lateinit hook forcalling pm late init
From: Tony Lindgren
Date: Fri Oct 11 2013 - 12:11:27 EST
* Joel Fernandes <joelf@xxxxxx> [131010 08:31]:
> On 10/10/2013 10:20 AM, Joel Fernandes wrote:
> >
> > Adding 6 lines of identical code for every platform seems redundant, I'd just
> > define an omap_common_late_init for all platforms for now, and then fork off for
> > the future differences. That way we save on LOC and readability in the header as
> > well. Your call.
>
> I see a function of that name already exists. I guess you can leave your patch
> as is then and not have to do this.
Yeah but why not just call the common late_init function directly for the
cases where we know it's never needed.
If thoses will be populated in the later patches, then it's OK to add them.
In any case, Nishant, can you please squash the late_init patches into a
single patch and make sure it also applies on top of the omap-for-v3.13/quirk
branch as there's been some changes to board-generic.c there.
Regards,
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/