diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-01-22 23:29:16 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-26 09:50:03 +0900 |
commit | f6b56704f78b2667fc8f61d2f398931fbc032b62 (patch) | |
tree | f90e6168fee4f5de76ad43dfbda3d65b4e4305f9 /arch/arm/mach-s3c64xx/mach-anw6410.c | |
parent | d85127319cc36c38eb99615c52531c6ef2f11369 (diff) | |
download | talos-obmc-linux-f6b56704f78b2667fc8f61d2f398931fbc032b62.tar.gz talos-obmc-linux-f6b56704f78b2667fc8f61d2f398931fbc032b62.zip |
ARM: SAMSUNG: Fix null pointer dereference in ADC driver
ARM: SAMSUNG: Fix null pointer dereference in ADC driver
Use struct adc_device instead of relying on client (which could be
NULL) when checking for SoC type.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-anw6410.c')
0 files changed, 0 insertions, 0 deletions