twx-linux/include/linux/platform_data
Kim, Milo 318cb389d0 lp8727_charger: Fix buggy code of NULL pdata
LP8727 platform data is optional, so the driver should work even the
platform data is NULL.

To check the platform data, charging parameter data should be changed to
the pointer type.

Fix NULL point access problem when getting the battery properties. When
the data is NULL, just return as invalid value.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
2012-09-20 17:56:49 -07:00
..
ad7266.h iio:adc: Add AD7265/AD7266 support 2012-06-30 10:15:07 +01:00
at91_adc.h
atmel-aes.h ARM: AT91SAM9G45: add crypto peripherals 2012-07-11 11:06:16 +08:00
atmel.h
clk-integrator.h ARM: integrator: convert to common clock 2012-07-11 17:58:45 -07:00
clk-nomadik.h ARM: nomadik: convert to generic clock 2012-06-10 18:41:40 +02:00
clk-u300.h ARM: u300: convert to common clock 2012-07-11 15:36:45 -07:00
cpsw.h
dwc3-exynos.h
dwc3-omap.h
efm32-uart.h
ehci-sh.h
emif_plat.h
exynos4_tmu.h
fsa9480.h
gpio-em.h
i2c-nomadik.h i2c-nomadik: move header to <linux/platform_data/i2c-nomadik.h> 2012-07-09 11:40:40 +02:00
ina2xx.h
leds-lm3556.h leds: Add LED driver for lm3556 chip 2012-07-24 07:52:35 +08:00
leds-renesas-tpu.h
lp855x.h backlight: move lp855x header into platform_data directory 2012-07-30 17:25:15 -07:00
lp8727.h lp8727_charger: Fix buggy code of NULL pdata 2012-09-20 17:56:49 -07:00
macb.h
mmp_audio.h ASoC: mmp: add audio dma support 2012-06-13 13:13:37 +01:00
msm_serial_hs.h
mv_usb.h usb/marvell: remove conditional compilation of clk code 2012-07-30 17:25:12 -07:00
ntc_thermistor.h
omap4-keypad.h
omap_drm.h omap2+: add drm device 2012-07-02 04:05:57 -07:00
omap-abe-twl6040.h
pxa_sdhci.h
s3c-hsotg.h usb: s3c-hsotg: Add header file protection macros in s3c-hsotg.h 2012-07-17 10:54:29 -07:00
s3c-hsudc.h
tegra_emc.h
tegra_usb.h
uio_pruss.h
wiznet.h