parent 6887a4131da3adaab011613776d865f4bcfb5678 author Alessandro Rubini 1338152141 +0200 committer Linus Walleij 1341492529 +0200 gpio-sta2x11: don't use pdata if null 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 Signed-off-by: Linus Walleij GzÜ~‘Rx