forked from luck/tmp_suning_uos_patched
e7bb29df2a
[ Upstream commit 4036b29a146b2749af3bb213b003eb69f3e5ecc4 ] Make sure in .probe() to set driver data before the function is left to make it possible in .remove() to undo the actions done. This fixes a potential memory leak and stops returning an error code in .remove() that is ignored by the driver core anyhow. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
addr-map.h | ||
aspenite.c | ||
avengers_lite.c | ||
brownstone.c | ||
common.c | ||
common.h | ||
devices.c | ||
devices.h | ||
flint.c | ||
gplugd.c | ||
irqs.h | ||
jasper.c | ||
Kconfig | ||
Makefile | ||
mfp-mmp2.h | ||
mfp-pxa168.h | ||
mfp-pxa910.h | ||
mfp.h | ||
mmp-dt.c | ||
mmp2-dt.c | ||
mmp2.c | ||
mmp2.h | ||
mmp3.c | ||
platsmp.c | ||
pm-mmp2.c | ||
pm-mmp2.h | ||
pm-pxa910.c | ||
pm-pxa910.h | ||
pxa168.c | ||
pxa168.h | ||
pxa910.c | ||
pxa910.h | ||
regs-apbc.h | ||
regs-apmu.h | ||
regs-icu.h | ||
regs-timers.h | ||
regs-usb.h | ||
sram.c | ||
tavorevb.c | ||
teton_bga.c | ||
teton_bga.h | ||
time.c | ||
ttc_dkb.c |