[lkml]   [2012]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] gpio-sta2x11: don't use pdata if null
On Sun, May 27, 2012 at 10:55 PM, Alessandro Rubini <> 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 <>
> Acked-by: Giancarlo Asnaghi <>


Linus Walleij

 \ /
  Last update: 2012-07-05 15:21    [W:0.030 / U:4.128 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site