Messages in this thread | | | Date | Thu, 5 Jul 2012 14:29:04 +0200 | Subject | Re: [PATCH] gpio-sta2x11: don't use pdata if null | From | Linus Walleij <> |
| |
On Sun, May 27, 2012 at 10:55 PM, Alessandro Rubini <rubini@gnudd.com> 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@gnudd.com> > Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Applied.
Thanks, Linus Walleij
| |