[PATCH 6/6] omap: iommu: code reorganization and cleanup

Ramirez Luna, Omar omar.ramirez at ti.com
Sun Nov 7 11:27:39 EST 2010


On Sat, Nov 6, 2010 at 4:28 PM, Cousson, Benoit <b-cousson at ti.com> wrote:
> On 11/5/2010 9:19 PM, Ramirez Luna, Omar wrote:
>>
>> Since omap-iommu is now using hwmod, there are structures and
>> arrays that can be cleaned up to increase the readability of
>> the code.
>
> This patch should be merged with the previous one as well.

No problem.

> I do not see the need to split in 3 patches these changes.
> It will be much readable and will avoid people, like me, doing comment on a
> piece of code you will remove 2 patches later.
> That cleanup must be done when the hwmod is introduced since that code was
> already useless at that time.

Yes, I was trying to avoid mixing changes so the review could be
focused on the replacements only, it seems it backfired.

Will do it in one patch and see how it looks.

>> +static char *omap4_devices[] = {
>> +       "ducati",
>> +       "tesla",
>> +       NULL,
>
> Not needed if you iterate over the class.

Ok.

Regards,

Omar



More information about the linux-arm-kernel mailing list