diff options
author | Alessandro Rubini <rubini@gnudd.com> | 2012-05-27 22:55:41 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-07-05 14:48:49 +0200 |
commit | 2e2070c85aa19f6c5bb3642a1429abf42f101e8d (patch) | |
tree | 453583479f2db4976391fa0138706c83e17f71d9 /lib/inflate.c | |
parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) | |
download | op-kernel-dev-2e2070c85aa19f6c5bb3642a1429abf42f101e8d.zip op-kernel-dev-2e2070c85aa19f6c5bb3642a1429abf42f101e8d.tar.gz |
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 <rubini@gnudd.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions