Re: [PATCH] gpio-sta2x11: don't use pdata if null

From: Linus Walleij
Date: Thu Jul 05 2012 - 08:29:01 EST


On Sun, May 27, 2012 at 10:55 PM, Alessandro Rubini <rubini@xxxxxxxxx> wrote:

> If there is no platform data available, the driver shouldn't use the
> pointer or it will oops. Since things will mostly work nonetheless,
> (the BIOS may have set up the pins properly), I'd better not fail the
> probe even in this case.
>
> Signed-off-by: Alessandro Rubini <rubini@xxxxxxxxx>
> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@xxxxxx>

Applied.

Thanks,
Linus Walleij
--
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/