[PATCH v5 05/14] ARM: OMAP2+: gpmc: resource creation helpers

Mohammed, Afzal afzal at ti.com
Wed Jun 13 01:29:31 EDT 2012


Hi Jon,

On Tue, Jun 12, 2012 at 23:32:05, Hunter, Jon wrote:

> Well looking at the function it seems that you either return an error
> code or 1. So if you are never going to return anything other than 1 on
> success it may as well be 0.

Irq & memory resource creation functions returns number of resources,
if memory function only is modified, that will cause loss of uniformity
w.r.t irq function, even though both does similar things.

Regards
Afzal



More information about the linux-arm-kernel mailing list