On Mon, Nov 17, 2014 at 11:31 PM, Geert Uytterhoeven <geert+rene...@glider.be> wrote: > It doesn't make much sense to make some (possible expensive) calls to > gpio_is_valid() first, and to ignore the result if the base number is > negative. Check for a positive base number first.
Sure. Reviewed-by: Alexandre Courbot <acour...@nvidia.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/