On 03/05/2013 01:59 PM, Alex Courbot wrote:
Btw, you also want to check if the enable-gpio property exists first because otherwise probe() will fails if no GPIO is specified).
That's actually not true - I overlooked the fact that probe() checks for the GPIO validity before requesting it. My bad.
Alex. -- 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/